Zum Hauptinhalt gehen

Demo of a geocode workflow

Kommentare

2 Kommentare

  • Permanently deleted user

    Hopefully this will get you started. It basically replicates our geocoding tool in a workflow, but it would provide a basis to expand on this if you want.

    Some points to note:

    • You'll need to replace the geocoder with one for the area where you are located. Right now it is all ready to geocode in British Columbia. Your geocoder might also come with a different set of arguments -- press the refresh button by the Geocode Service Url to see what they are. 
    • If you want to give people an opportunity to start over from within the workflow if no results are returned, you will need to implement it in a Flowchart rather than a big long Sequence so that you can have branching paths based on the results of dialog boxes.
    • Two main paths are implemented, one for a single result and one for many potential results. This is because the method of creating the extent to zoom to is different for a point than a collection of points.
    • You'll see that the points are being reprojected. ESRI provides a tool that will reproject geographic coordinates (what the geocoder gives out) to Web Mercator or vice versa, but other coordinate systems will be tougher. It is recommended that if you have a custom geocoder that it be set up to give you points in the projection of your map so you don't have to do this.

     

    (https://support.geocortex.com/Data/Sites/1/media/forumfiles/geocode.zip) /Data/Sites/1/media/forumfiles/geocode.zip

    0
  • Permanently deleted user

    That worked mostly well.   I had a little trouble with the projection as you said.  

    It is zooming to my collection of results.

    But what isn't working is the "RunExternalCommand" - "AddMarkup".  Is that something built-in?   Because I'm getting no markup points.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.