How do you create a polyline geometry composed of two points?
Hello, I am trying to create a polyline that consists of two points. Seems simple enough, I tried using create feature activity and couldn't figure it out. I see there is a create points activity.
0
-
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.
Kommentarer
1 kommentar