Is there any posibilities to get the locations Gate address?

438
1
05-12-2023 01:20 AM
Ragavi
by
New Contributor

While trying to get the address location , it's given middle of the building point cordinates
Any posibilities to get nearby street location or front street location

I'm using "findAddressCandidates" API

https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?addres...<ACCESS_TOKEN>

0 Kudos
1 Reply
ShanaBritt
Esri Regular Contributor

@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?addres...

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?addres...

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

0 Kudos