Select to view content in your preferred language

FlexViewer map moves from Florida to Nigeria

2486
4
Jump to solution
10-17-2014 05:22 AM
JoshSaad1
Frequent Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

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.

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
JoshSaad1
Frequent Contributor

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?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
JoshSaad1
Frequent Contributor

That worked!  I added a step to convert coordinate notation.  Thanks for your help.

0 Kudos