Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

Thanks!

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.