I am new in GIS, but I need extract addresses (city, street, housenumber, lat, lon) from my osm file. Can you give me advice what is the best way to do that? I found project openaddresses, but a lot of addresses of my area is missing.
[GIS] Extract addresses from osm file
addressopenstreetmappostgis
Best Answer
If you'll write which addresses you can see in osm and don't see in your database it'll be simpler to help you.
EDIT:
Assuming you're interested only in 100% sure addresses your query looks fine, but still you'll not get addresses where street and/or city is not set in tags. You can try as follows, but keep in mind that this values are not 100% sure... Also make sure you have proper indexes (including spatial) - without this query will run about 2 centuries :)