Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to know how to detect which city belong certain coordinates. Wich is the best way to do this?

Thanks in advance. Pd: excuse my english

share|improve this question
up vote 6 down vote accepted

Check out this post which apparently links to an open database of city lat lons. You can load that into your postgis database and then check out this link to find the nearest to a given point.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.