locked
GeoData API not returning Australia sub state boundaries RRS feed

  • Question

  • Hi,

    I am working on a Bing Maps ajax project where I need to retrieve Australian boundaries. The Bing GeoData API correctly returns the Australian state level boundaries. But when I go inside a state I get a blank array as result. I am calling the GeoData API using this structure:  http://platform.bing.com/geo/spatial/v1/public/Geodata?SpatialFilter=GetBoundary('Ainslie, ACT, Australia',1,'AdminDivision2',1,1,'US','en-us')&$format=json&key=[enterprise key].

    Am I doing something wrong? This format returns data in the USA, but not in Australia. Any help is appreciated.

    Monday, July 11, 2016 10:39 AM

Answers

  • Not all entity/boundary types are available everywhere. Geocoding "Ainslie, ACT, Australia" and using it's coordinates I can see that the following boundary types are available in that area:

    • AdminDivision1
    • CountryRegion
    • PostCode1
    • PopulatedPlace

    [Blog] [twitter] [LinkedIn]

    Monday, July 11, 2016 6:43 PM