I made a quick FlexViewer app with a geoprocessing function to search for schools within distance from a specified address in St. Lucie County, Florida. But whenever I run the tool, the map displays the results in Nigeria. It highlights proportionately where the schools would be if the map was centered on the address I had specified, but in Nigeria.
What's weird is I had a similar issue with our 9-11 dispatching software when using Google Maps as a base map. That would sometimes display Nigeria instead of Florida. Has anyone ever heard of problems like this?
Solved! Go to Solution.
Josh,
You need to be sure that your GP results are actually coming back in WKID 102100. This is the only reason that the results would end up in Africa.
Josh,
Sure this is a common issue if you geoprocessing function is returning results in a coordinate system (WKID) other than on one used by the map. If you are using esri basemaps then your maps wkid is 102100.
I changed the coordinate system for the map to 102100, and configured the geomodel to use the same. I'm still getting the same result. Do I have to convert my data as well?
Josh,
You need to be sure that your GP results are actually coming back in WKID 102100. This is the only reason that the results would end up in Africa.
That worked! I added a step to convert coordinate notation. Thanks for your help.