Azure Maps Reverse Address Search API empty addresses array

Sujal Shah - Housing India 80 Reputation points
2023-10-26T06:13:51.55+00:00

The Azure Maps Reverse Address Search API should typically return an address for a given set of coordinates. However, there might be cases where the address array is empty in the response.

I checked the possible reasons like Incorrect Coordinates: & API Usage Limits but this is not the case for me.
The Documentation I've followed: https://learn.microsoft.com/en-us/rest/api/maps/search/get-search-address-reverse?tabs=HTTP

I want the address using reverse geo search but no data is returned
Example: 👇
The below query position is near Arabian Sea, And I'm expecting related info in response. It's ok if the location address is nearby and less accurate in such cases.
query: 21.04697924981805,72.12334889510888

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
832 questions
0 comments No comments
{count} votes

Accepted answer
  1. rbrundritt 20,836 Reputation points Microsoft Employee Moderator
    2023-10-26T16:37:48.9566667+00:00

    The coordinate you provided is 10 miles from the nearest land. There is no address within a reasonable distance of that location, and so the reverse geocoding service shouldn't return an address.

    The reverse geocoding service needs to have coordinates over land or within 150 meters of land, at a minimum in order for an address to be returned. If the coordinate is more than 150 meters from land (over water), no address will be returned. If you want a street level address, the coordinate needs to be within 150 meters of an address (a point in the middle of a forest may not return a street level address, but may include city/state level information).

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.