user input coordinates (in text format) to create a geometry in a workflow
I'm having no luck finding workflow samples where a user can input text (for example 4 lat/lon coordinates) and create an argument (type Geometry). I can only find geometry activity input options that gather points by clicking on the map. Does anyone know if its possible for user to input (from text format) multiple lat/lon points in order to create a polygon geometry in a workflow? This is for Essentials 4.12 Thank you
0
-
I did the following steps to create geometry before, hope this could help you!
Cast the lon/lat from string to double.
Create a map point with these values.
And assign the spatial reference for it.0 -
Thank you very much Eugen,
I've begun testing first creating the geometry polygon object (from lat/long points) using a geoprocessing ArcGIS Server service to supply as input to the workflow.
I am also trying your suggestion and believe I have the Cast portion working (I am using system.double) but I cannot figure out which SDK command or Activity you are using to create a map point from the double values.
Thank you for your suggestion.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare