How to simulate a user click for CaptureGeometry in Workflow Simulator
Hi to all
As part of the development of a new workflow I wish to use the Workflow Simulator to test my progress. Does anyone know how I simulate a user click for CaptureGeometry step in the Workflow Simulator?
Thanks
Ralph Price
-
I like to hear the answer to this one from Latitude Geographics.
I have the same problem.
0 -
Hi Sebastian and Ralph. When you start the simulator, when the CaptureGeometry activity runs, on the right panel (workflow console) you will see a field called “output”. There you can specify the geometry selected by the user. If you click on the small question mark (“?”) on the right side of the text box you will see examples of values (points, polylines, polygons). Then you can replace the values for those on your own reference.
-Alejandro
0 -
I've had some success with the Workflow Simulator by making a couple of pre-defined geometry strings that use coordinates in our area.
For example, to simulate a polygon selection in the simulator Capture Geometry "Result" field I enter something like:
{ "rings" : [ [ [-89.21, 43.19], [-89.19, 43.19], [-89.19, 43.21], [-89.21, 43.21], [-89.21, 43.19] ] ], "spatialReference" : { "wkid" : 4152} } }
To simulate a point selection I might use something like:
{ "x" : -89.4255, "y" : 43.0929, "spatialReference" : { "wkid" : 4152 } }
Being that we're in different hemispheres, my coordinates are worthless to you, but the format above works for me in the simulator.
I've also noticed the Capture Type can be set to MapPoint and I can still enter the polygon string and have it work in the simulator. And vice versa.
Steve
0 -
Hi Steven et al
if only I had remembered that I had asked this question a year ago I could have answered it myself now.
Thanks to all
Ralph
0 -
Hi Alejandro,
I don't suppose it's possible to customize that list, or is it?
Berend
0 -
Hi Berend, sorry for the delay in my reply. It is not possible to customize the list currently.
Regards,
-Alejandro
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
6 kommentarer