Search code examples
google-maps-api-3google-places-apigoogle-knowledge-graph

Is the located in information available on any google api?


As an example Google Maps place result. Features information about whether a location is within a larger complex. The google search result knowledge pane features this same information.

Is this available on a google api that can be queried via third party applications?


Solution

  • I could not find it, from what I could tell google uses its own geo polygons to work out whether something is inside a location.

    So I went with using https://nominatim.openstreetmap.org/search.php?q=Australia&polygon_geojson=1&format=json to get the location polygons and GeoDjango + Postgis Example.

    Hope this helps someone else out there.