Select to view content in your preferred language

reverse geocode service - cannot get desired address

294
2
02-07-2024 05:14 AM
tigert
by
New Contributor

I have a developer account and trying out rest api. This is the url I tried with token.
https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?f=pjson&featureTy...

This should give a canadian address in Ottawa, It shows an address in Antartica.

Please advise

0 Kudos
2 Replies
Amir-Sarrafzadeh-Arasi
Frequent Contributor

Dear tigert,

I hope you are doing well when reading this message,

 

You should pass first x and then y, but you passed reverse.

Best wishes

Amir Sarrafzadeh Arasi
AmandaRing
Esri Contributor

As @Amir-Sarrafzadeh-Arasi mentions, you simply have listed your coordinates in the wrong order.
Try this, and you'll see that it maps to an address in Tunney's Pasture 🙂
https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?f=pjson&featureTy...

Cheers,

Amanda
Product Engineer - Web Analysis