Hi! I'm need to get all street name, house number and city. I'm using osmconvert with the next query: osmconvert chile-latest.osm --csv="addr:street addr:housenumber addr:city" -o=1.csv The problem is I can't get every street and house number, for example, if I get all lat and long, I can get 7.000.000 records, but when I use below query, I can get just 5.000 records. If i look at the map, show a lot more than what I can get. How I can get all the street name, house number and city? Thanks! asked 01 Dec '14, 18:33 patriciodilet |
Using your slightly modified command (with the file being from December 5th)
I get a file with 235.934 lines which each contains a more or less address (sometimes only a street name or a housenumber) In short: works for me. (at least it seems so) answered 05 Dec '14, 14:51 malenki |
How you did it in overpass-turbo? answered 16 Jul '19, 14:54 Sterben_123 @Sterben_123: Please create a new question for your issue.
(16 Jul '19, 16:45)
TZorn
|
do you have the same "error if you try your query on another raw OSM file from another area in the world? for example Luxembourg or similar?
Maybe in the result file you only have elements that have all three tags with any value, any all others are skipped?
Maybe you want to run osmconvert with the additional parameter --all-to-nodes
"if I get all lat and long, I can get 7.000.000 records"
That sounds a lot - I suspect that this includes every node in Chile, not just those places that have addresses (every park bench, every tree, every node of every way that makes up every road, etc.)