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's gravatar image

Shikiso
11112
accept rate: 0%

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.

(05 Feb '15, 17:55) Shikiso

I suspect that someone's going to need to do a complete worked example here.

(27 Feb '15, 16:42) SomeoneElse ♦

The one answer to your two questions is osmconvert.

Do a search on that wiki page about "merge" and "csv".

permanent link

answered 21 May '14, 18:33

stephan75's gravatar image

stephan75
12.5k453209
accept rate: 6%

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×552
×276
×91
×84

question asked: 21 May '14, 11:51

question was seen: 4,142 times

last updated: 03 Mar '15, 17:12

powered by OSQA