4

I am desperately trying to find a list/database of districts or sublocalities for all cities of the world.

I use the list of all cities of the world from maxmind.com, however, they do not provide sublocalities or districts (like e.g. "Manhattan", "Brooklyn", ... in New York).

Does anybody know if there exists a solution out there somewhere? Or is there a posibility to get all sublocalities using Google Maps API? (As I have 2.7mio cities with LatLng values in the database).

Thank you very much in advance for any hint!

Helmut
  • 1,377
  • 1
  • 15
  • 25

1 Answers1

2

Bulk downloads of Google data are forbidden by the Terms of Service.

Geonames is probably your best bet, although neighbourhoods are only available directly for US cities: http://www.geonames.org/export/web-services.html#neighbourhood

Children of existing Geonames objects are available, but that doesn't appear to include children of cities.

Andrew Leach
  • 12,945
  • 1
  • 40
  • 47
  • thank you for you answer Andrew... I've already been to this site, although I would really need for all major cities worldwide... anyway, I appreciate your help! :) – Helmut Apr 18 '12 at 18:05
  • concerning google: bulk downloads yes, however, if I e.g. wanted to show a marker for each neighborhood of a city on a map, this would be legal, right? – Helmut Apr 18 '12 at 18:09
  • Up to a point. You shouldn't store that data permanently. And it's not necessarily easy to get that data without it being potentially classed as a bulk download. At your own risk, I think! – Andrew Leach Apr 18 '12 at 18:29
  • well, OK... even if I don't store them permanently, is there any way to get neighborhoods per city with google API? it is included in the json or xml response (sublocality, political), but only for a certain address/latlng value... – Helmut Apr 18 '12 at 18:46