NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

hello - i wanted to run a osmconvert & filter with the following goal - to get the following tags out of the datas:

addr:street addr:housenumber addr:city

so i decided to do the following command

./osmconvert hamburg-latest.osm.pbf --all-to-nodes -o=hamburgrestaurants_2.o5m
./osmfilter hamburgrestaurants_2.o5m --keep="amenity=restaurant" -o=restaurant_2.o5m
./osmconvert restaurant_2.o5m --csv="@id @lon @lat shop name  addr:street addr:housenumber addr:city website email" --csv-headline -o=restaurant_2.csv

but i failed - there were no streets no housenumbers and cities

what is wrong with this?

asked 18 Apr '14, 16:36

say_hello_to_the_world's gravatar image

say_hello_to...
19232427
accept rate: 0%

edited 21 Apr '14, 16:14

neuhausr's gravatar image

neuhausr
7.5k870121


This is basically the same question as in your other post. Issue: there's an extra space between "name" and "addr:street" in your osmconvert csv string. Remove it and you're all set.

permanent link

answered 21 Apr '14, 07:34

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

hello dear mmd - many many thanks - i will try it out and come back and report all my findings. Thx alot. your are great!

(23 Apr '14, 21:22) say_hello_to...

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:

×710
×47
×30

question asked: 18 Apr '14, 16:36

question was seen: 9,494 times

last updated: 23 Apr '14, 21:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum