Geocode workflow error
I am using the Geocode workflow from Code Gallery, and I have replaced the Geocode Service URL with a geocoding service we have published for our county. Everything seems to be working until the workflow assigns a value to mapPoint which is supposed to project coordinates from WGS84 to web mercator. The services in our site have an original projection of State Plane Georgia West but have been published with Web Mercator. The Address Locator for our County was published with State Plane Georgia West and feet as the units.
/customer/servlet/servlet.FileDownload?file=00P6000000eluCUEAY
/customer/servlet/servlet.FileDownload?file=00P6000000em1GOEAY
CType(projector.FromGeographic(filteredResults.first().Location),MapPoint)
/customer/servlet/servlet.FileDownload?file=00P6000000elzYYEAY
When I comment the Assign task out I get this error for the next activity which is Buffer Task:
/customer/servlet/servlet.FileDownload?file=00P6000000elzKHEAY
This probably also has something to do with the projection as well.
Any help would be greatly appreciated.
-
Hi Robert,
Since that workflow was originally made we have added many new activities to Workflow that will help deal with varying projections.
(https://support.geocortex.com/Data/Sites/1/media/forumfiles/geocode.zip) Here is an updated version of the Geocode workflow from the code gallery (the original will also be updated shortly) that uses the Get Map Info activity to determine the current spatial reference in the viewer, and feeds that into Project Tasks to convert whatever the geocode service returns into something visible on the map.
Regards,
-Malcolm
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar