How to find which boundaries a user-drawn shape intersects using Bing Maps API?

Gary_F 21 Reputation points
2020-12-09T03:24:22.85+00:00

Hi. I'm trying to get the names of Bing's built-in Postcode2 boundaries that are within a radius of a user's location. The radius is a user-drawn "circle".

Let's say the radius is 3Km and it engulfs 3 Postcode2 boundaries and advances a tiny bit into a 4th boundary. I would like to get the EntityName of all 4 boundaries - that's the goal.

Is anything like this possible using the API or with a 3rd party library please?

Thanks in advance to anyone who can help, hint or provide example code! :-)

Gary.

P.S. Sorry if this Q is tagged incorrectly, but the long serving Bing Maps Forum isn't accepting any new Qs and it said it's being migrated here... but the appropriate Bing Maps API tags don't exist at the time of typing this.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
587 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2020-12-18T17:30:46.457+00:00

    Hi GaryF,

    I am not sure how you would do exactly what you are asking but you can find the postal code for a point. Take a look at the SDS and Math section of the iSDK at https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk and see if some combination can be used to achieve your goal.

    Sincerely,
    IoTGirl

    1 person found this answer helpful.
    0 comments No comments