LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Closed Thread
 
Search this Thread
Old 04-23-2014, 03:13 AM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 163

Rep: Reputation: Disabled
applying street (adress) tags to openstreetmap - request


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
Code:
./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. Now i decidet to use overpass-API which seems to be less complicated. Can someone advice me here to go the first step.


i want to get out the following information

adress like
city
street
housnumber 4
eg website and email
 
Old 04-23-2014, 09:37 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,775

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by sayhello_to_the_world View Post
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
Code:
./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. Now i decidet to use overpass-API which seems to be less complicated. Can someone advice me here to go the first step. i want to get out the following information

adress like
city
street
housnumber 4
eg website and email
Right...which is what you asked before:
http://www.linuxquestions.org/questi...ap-4175502184/

...and you were asked for details, but didn't provide them. Thread reported as dupliate.
 
Old 04-23-2014, 09:39 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to adress the right tags in OpenSteetmap sayhello_to_the_world General 1 04-18-2014 10:47 AM
LXer: Make your street an open street LXer Syndicated Linux News 0 12-14-2012 06:41 PM
LXer: Red Hat tells Wall Street it wants Main Street LXer Syndicated Linux News 0 10-08-2008 11:40 AM
Street Atlas / Street Finder clone for Linux? PowerMatt Linux - Software 2 09-14-2004 11:12 AM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration