Get Search Address Structured - Exact Match

Imberman, Ben 1 Reputation point
2021-07-20T02:04:37.817+00:00

I am trying to perform a structured search to retrieve addresses (place, zip, county, or state) unsuccessfully. I will use the bellow HTTP request as an example:

https://atlas.microsoft.com/search/address/structured/json?api-version=1.0&language=en-US&subscription-key=****************&countrySecondarySubdivision=Orange County&countrySubdivision=CA&countryCode=US&entityType=countrySecondarySubdivision&limit=1

I expect to get an exact match with the correct address and "entityType": "countrySecondarySubdivision" but instead receive an incorrect address with "entityType": "Municipality":
After expanding the search limit to 5 the expected result is returned together with 4 undesired results.

Is the search criteria not sufficient for a specific result?
Is there a structured search that will deliver the expected result?
Maybe there is a minimum result limit that will guarantee the correct address (and entityType) for all searches?
or is there a workaround/another solution to this problem?

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

1 answer

Sort by: Most helpful
  1. IoTGirl 3,126 Reputation points Microsoft Employee
    2021-07-20T17:45:06.11+00:00

    Hello @Imberman, Ben ,

    That does not look like an exact address so can you explain your expectation? For example 123 Main street, town/city, County, Country, Zip would be an address but just county is not an exact address.

    I recommend you try addresses at our feedback site https://feedback.azuremaps.com/ to see how a full address is structured.

    Sincerely,
    IoTGirl

    1 person found this answer 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.