Hoppa till huvudinnehållet

How do you create a polyline geometry composed of two points?

Kommentarer

1 kommentar

  • Ryan Cooney

    Hi Jake,

     

    You can use the Get Geometry From JSON activity to supply the points of a polyline. Something like this:

    ={ "paths":[[[-122.68, 45.53], [-122.58, 45.55]]], "spatialReference":{"wkid":4326} }

    You'll just need to replace the x-y values (and spatial reference) with your own values from your workflow.

     

    The same approach will work for other complex geometry types like Polygon and Multipoint.

     

    --Ryan

    0

Du måste logga in om du vill lämna en kommentar.