Hoppa till huvudinnehållet

How to simulate a user click for CaptureGeometry in Workflow Simulator

Kommentarer

6 kommentarer

  • Sebastian Mariendal Kristensen

    I like to hear the answer to this one from Latitude Geographics.

    I have the same problem.

    0
  • Permanently deleted user

    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
  • Permanently deleted user

    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
  • Permanently deleted user

    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
  • Berend Veldkamp

    Hi Alejandro,

    I don't suppose it's possible to customize that list, or is it?

    Berend

    0
  • Permanently deleted user

    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.