Why not ask your question on the new OpenStreetMap Community Forum?

hello dear OpenStreetmap-experts

on opensuse 13.1 i try to do some gis-works with a large file: france-latest.osm.bz2 which i gathered from here: http://download.geofabrik.de/europe.html :: what do i do with that file france-latest.osm.bz2

bzcat france-latest.osm.bz2

what is aimed? i want to extract all things that belong to the POI restaurant which is

long lat
etc - etx.

i have the following things up and running:

package perl-XML-Twig and run xml_split

with a command available on openSUSE to split xml files named xml_split (it is part of the package perl-XML-Twig) Now i used to run the following command (I hope we have enough hard disk space since the output is roughly 20GB).

bzcat france.osm.bz2 | xml_split -s 100M -b france -n 3 -

but . i well i think i will go and extract (an initially small) geographical area using osmosis, then i will go to look at osmfilter to extract the data (possibly having a look at osmconvert to convert the data into a format that osmfilter can understand). Also perhaps consider osmium.

well - i need to run osmosis and osmfilter besides this i need to have osmconvert

are these packages available for opensuse

btw: i did it - see here

linux-70ce:/home/martin # wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
--2014-04-13 09:54:23--  http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
Auflösen des Hostnamen »bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)«...
Verbindungsaufbau zu bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)||:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 9079737 (8,7M) [application/x-gzip]
In »»osmosis-latest.tgz.1«« speichern.

100%[==========================================================================================================================================>] 9.079.737   1,41MB/s   in 6,3s

2014-04-13 09:54:29 (1,38 MB/s) - »»osmosis-latest.tgz.1«« gespeichert [9079737/9079737]

linux-70ce:/home/martin # mkdir osmosis
linux-70ce:/home/martin # cd osmosis

linux-70ce:/home/martin # mkdir osmosis
linux-70ce:/home/martin # cd osmosis

btw: regarding the two other toools osmconvert osmfilter - i have had a loook at the corresponding websites. should i have to install it like it is written on here :

Download and build in one run:   wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
Download and build in one run:   wget -O - http://m.m.i24.cc/osmfilter.c |cc -x c - -O3 -o osmfilter

asked 13 Apr '14, 22:45

say_hello_to_the_world's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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:


question asked: 13 Apr '14, 22:45

question was seen: 5,649 times

last updated: 13 Apr '14, 22:45

powered by OSQA