5

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!

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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