Adress-tags in OpenStreetmap: how to use them

Relax and enjoy The Lounge. For all Non-Joomla! topics or ones that don't fit anywhere else. Normal forum rules apply.
Locked
unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Adress-tags in OpenStreetmap: how to use them

Post by unleash_it » Fri Apr 18, 2014 3:42 pm

hello dear joomla-experts


what i am trying to do now is .....a little task

- 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

cf http://wiki.openstreetmap.org/wiki/Key:addr


so i decided to do the following command

Code: Select all

./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?


i really love to hear from you

many many greetings
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

Locked

Return to “The Lounge”