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
name
adress
etc - etx.

my trials:

the very first attempt to do the job: i have the following things up and running:

Code:
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 we try to run the following command (I hope we have enough hard disk space since the output is roughly 20GB).

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

the second attempt:


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

PHP Code:
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)«... 128.40.168.103
Verbindungsaufbau zu bretth
.dev.openstreetmap.org (bretth.dev.openstreetmap.org)|128.40.168.103|:80... verbunden.
HTTP-Anforderung gesendetwarte 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 :


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

PHP Code:
Download and build in one run:   wget -http://m.m.i24.cc/osmfilter.c |cc -x c - -O3 -o osmfilter 
what do you say - well i need a example where i can run osmconvert and osmfilter - in order to have good and valid examples


so i finally am sure that i have all the ingredients on my machine to work