Skip to main content

convert featureset to polyline

Comments

3 comments

  • Tom Neer
    Jeff,

     

    Off the top of my head, create a polyline variable (thePolyline) as new ESRI.ArcGIS.Client.Geometry.Geometry.Polyline. The do an Assign where thePolyline = CType(yourFeatureSet.Features(0).Geometry, ESRI.ArcGIS.Client.Geometry.Polyline)

     

    -Tom
    0
  • Permanently deleted user
    thank you that does work! and saved me some time.
    0
  • Permanently deleted user
    Also, there is the Union Task workflow activity under ArcGIS Server, which takes a featureset as an input and geometry as an output.  Then I'm thinking you could just do a cast <Polyline> workflow activity under Common Server.  Jeff's will probably be quicker since you don't need to do a web request.
    0

Please sign in to leave a comment.