Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-14-2014, 10:43 AM   #1
Registered: May 2013
Posts: 221

Rep: Reputation: Disabled
trying to refactor a osmfilter to do better work

hello dear linux-programming experts

today i have no linux-question - but a question regarding a great opensource technique

new to the gis-technique: i am workin with the following tools:


and that

i run the following example:

    osmconvert germany.osm.pbf --all-to-nodes -o=germany.o5m
    osmfilter germany.o5m --keep="amenity=shop or shop=*" -o=shops.o5m
    osmconvert shops.o5m --csv="@id @lon @lat shop name" --csv-headline -o=shops.csv
that runs fine - now i want to refine:

to get such a result- [made out of xslt]

    <node id="52768810" lat="48.2044749" lon="11.3249434" version="7" changeset="9490517" user="wheelmap_visitor" uid="290680" timestamp="2013-10-07T20:24:46Z">
    <tag k="addr:city" v="Olching" />
    <tag k="addr:country" v="DE" />
    <tag k="addr:housenumber" v="72" />
    <tag k="addr:postcode" v="82140" />
    <tag k="addr:street" v="Hauptstraße" />
    <tag k="amenity" v="restaurant" />
    <tag k="cuisine" v="mexican" />
    <tag k="email" v="" />
    <tag k="name" v="La Cantina" />
    <tag k="opening_hours" v="Mo-Su 17:00-01:00" />
    <tag k="phone" v="+49 (8142) 444393" />
    <tag k="website" v="" />
    <tag k="wheelchair" v="no" />


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
osmfilter - how to test the installation with a easy example sayhello_to_the_world Linux - Newbie 0 04-15-2014 02:44 AM
trying to refactor a xlst-processor to do better work sayhello_to_the_world Linux - General 0 04-12-2014 02:44 PM
URGENT: iperf does not work to run TCP traffic using IPV6 IP. Same work with IPV4 IP. anjana c Linux - Newbie 1 03-28-2014 02:48 AM
find articles on refactor bash profile file Millar Linux - Software 1 03-11-2014 02:33 PM
can't make ethernet on laptop work, wireless and usb work fine ubuntu 8.10 rz1988 Linux - Newbie 10 01-13-2009 03:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 AM.

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