While trying to get the address location , it's given middle of the building point cordinatesAny posibilities to get nearby street location or front street locationI'm using "findAddressCandidates" API
https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?address=37%20Dover%20Street%2C%20SUMMER%20HILL%2C%20NSW%2C%202130&f=json&token=<ACCESS_TOKEN>
@Ragavi , have you tried specifying the category as Street Address, which will return a candidate at the street level? For example:
https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?address=37%20Dover%20Street%2C%20SUMMER%20HILL%2C%20NSW%2C%202130&category=Street%20Address&outFields=addr_type&f=json&token=
The other options is to specify the locationType as 'street', but if only rooftop location coordinates are available for an address, the rooftop geometry will be returned for the geocoded address even when locationType=street is requested. It looks like for the address in your example only rooftop coordinates are available in the data for the World Geocoding Service.
https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?address=37%20Dover%20Street%2C%20SUMMER%20HILL%2C%20NSW%2C%202130&locationType=street&outFields=addr_type&f=json&token=
More info about locationType parameter can be found on this page, https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm.
-Shana
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.