Not able to get boundry

Balasaheb Molawade 136 Reputation points
2023-06-13T06:06:43.8633333+00:00

Hi,

We are not getting the boundary for some of the counties. Please check below some examples.

Yuma | Arizona

Gila | Arizona

We are using the code available in below link

https://www.bing.com/api/maps/sdk/mapcontrol/isdk/sdsloadmultipleboundaries

Is anyone face such type of issue and have a solution for it?

Thanks!

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

1 answer

Sort by: Most helpful
  1. rbrundritt 20,921 Reputation points Microsoft Employee Moderator
    2023-06-13T09:04:43.5933333+00:00

    I have been able to verify that these do not exist in the Bing Maps GeoData API and is also missing in the 2010 US Census data in which the boundary data is sourced from.

    I tried Azure Maps which uses a different data set and it does have Yuma county, but it did not find Gila county (it found other places called Gila in AZ). You can try this out here: I tried Azure Maps which uses a different data set and it does have Yuma county, but it did not find Gila county (it found other places called Gila in AZ). You can try this out here: https://samples.azuremaps.com/?search=boundary&sample=search-for-boundaries

    I found that the 2020 US Census county data does include these counties. You can download a KML file with all US counties here: https://www.census.gov/geographies/mapping-files/time-series/geo/cartographic-boundary.html You can then either use the data directly or upload it into the Bing Maps Spatial Data Services and access it using the query API.

    1 person found this answer helpful.
    0 comments No comments

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.