0

Im just wondering if one can make an spatial database using postgres + postGIS wherein the user can query each city in the world then get the their real coordinates(latitude&longitude) in the resulting set.

Erwin Macale
  • 73
  • 1
  • 9

1 Answers1

1

There's a bunch of available data sets out there.

I would assume, that GeoNames is most appropriate here. This project extracts all objects from Wikipedia, that has coordinates specified. And of course, it is quite possible to query cities.

If you need more detailed info, then all depends on a particular country. Say, Netherlands state authorities can provide you extracts of the state estate database, which includes all buildings, inhabited places, living boats and some more.

I assume that building a complete list of cities will be a costy project.

vyegorov
  • 21,787
  • 7
  • 59
  • 73