Get boundary issues for postal codes

Balasaheb Molawade 136 Reputation points
2024-12-02T11:18:22.66+00:00

Hi,

We are using the API provided in the link below to find postal code boundaries: https://www.bing.com/api/maps/sdk/mapcontrol/isdk/sdsloadmultipleboundaries#JS

When we enter a postal code, for example, "K0A 0A4", it does not return any boundaries, even though we have verified that it is a valid Canadian postal code. We are able to find the boundaries on Google Maps.

Is there any way to retrieve the boundaries for Canadian postal codes using above Bing map API.

Looking forward to your response.

Thanks!

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

1 answer

Sort by: Most helpful
  1. rbrundritt 18,816 Reputation points Microsoft Employee
    2024-12-02T15:26:19.8366667+00:00

    As noted by IoTGirl in this thread: https://zcusa.951200.xyz/en-us/answers/questions/2124198/shapefile-kml-file-or-excel-file-for-canadian-post only 3 letter postal area boundaries are available in Canada (forward sortation areas), individual postal code boundaries are not available. I also checked the boundary services in Azure Maps and they also have this same limitation.

    I was surprised that you said Google Maps had this as there is a ton of legal headaches and high expense with Canadian postal codes that pretty make them unusable for global map platforms. However, digging into this I verified that the Google Maps API's do not include Canadian Postal code boundaries, they are only available on their public consumer site which would be a lot easier for them to license the data for. They have this documented here: https://developers.google.com/maps/documentation/javascript/dds-boundaries/coverage

    Note, you will generally find more data in the consumer map sites like bing.com/maps and google.com/maps as there is a ton of data out there that can only be licensed for consumption and not resold (e.g. exposed through and enterprise API).

    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.