Hi everyone
I'm running a query against the service below, but although I'm expecting the return coordinates to be in 2 digits given the spatial reference (lat-long), I'm getting ones like the following:
Lat: -8204811.26192143
Long: -3987590.02305023
Lat: -3606776.02627643
Long: 501790.162731707
Spatial Reference: 102100 (3857)
And this is the URI for reference.
https://services8.arcgis.com/xp2JaQPz1Q5vuCBc/arcgis/rest/services/BRASIL_dnit/FeatureServer/0
Thanks
Alan
Solved! Go to Solution.
Alan,
The spatial reference isn't geographic. It might be labelled as LatLng but it's XY for Web Mercator. You need to use the outSR parameter to specify the coordinates in geographic of your choosing.
Regards
Alan,
The spatial reference isn't geographic. It might be labelled as LatLng but it's XY for Web Mercator. You need to use the outSR parameter to specify the coordinates in geographic of your choosing.
Regards
thanks!