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'm using osm2pgsql to import an extract of OpenStreetMap's data so I can geocode an address to a lat/lng. But I'm new to OSM and mapping so I'm having trouble figuring out what data is relevant and what is unnecessary.

What is the bare minimum data I would need to import from an OSM data file in order to geocode an address?


share|improve this question

You probably want to take a look at nominatim/gazetteer and dive in the code to find out, I've done so a while back but there are steps to create certain indexes that you need to find data (geocode and reverse geocode). So directly it's hard to tell what you really need.

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.