Hi, Before that, I already read that one, https://help.openstreetmap.org/questions/32163/how-to-filter-only-street-names-and-city-id-in-osmfilter, and to my knowledge, didn't see any answer. So I am willing to use osmfilter and extract the list of street alongside the lat and alt and the city/town/whatever it belongs to. So for streets it is that: osmfilter 1.o5m --keep="highway=cycleway highway=path highway=primary highway=residential highway=tertiary highway=living_street" Cities: spain.o5m --keep-nodes="place=city =town =village =hamlet =suburb =province" --keep-ways= --keep-relations= >mycity.osm which I got from here: https://help.openstreetmap.org/questions/29597/write-error-when-filtering-nodes-with-osmfilter-on-windows Now, how do I mix them and afterwards I am able to extract the list in a csv of the street, its lat and alt and the city it belongs to. Thanks for the help! asked 21 May '14, 11:51 Shikiso |
One Answer:
The one answer to your two questions is osmconvert. Do a search on that wiki page about "merge" and "csv". answered 21 May '14, 18:33 stephan75 I have tried mixing them but I just keep getting the list of streets with just the lat and alt, really can't figure this out. Please some help. I think that it can also probably be done by just one file instead of mixing two of them. Thanks in advance. Help please!! (27 Feb '15, 16:08) Shikiso Please tell us in DETAIL: How did you mix what files exactly? what is the result you get in detail? What is the result you want to have? PS: if you need to post bigger files or text, consider to ask this again in OSM forum at http://forum.openstreetmap.org -> "Questions and Answers" (03 Mar '15, 17:12) stephan75 |
I have tried mixing them but I just keep getting the list of streets with just the lat and alt, really can't figure this out. Please some help.
I think that it can also probably be done by just one file instead of mixing two of them.
Thanks in advance.
I suspect that someone's going to need to do a complete worked example here.