[OSM-dev] Question about .bz2 file parsing
Fire Girl
firegirl at amorous.com
Sat Jun 14 07:26:52 BST 2008
Wow, that is excellent. I had this right under my nose and didn't know
it!
I installed Java 5 on my Windows XP 64 bit machine, and then the Java 5
version of Osmosis. It took me a moment to re-orient myself.... but I
think I made a little progress.... but have a slight knowledge gap how to
parse commands with it.
If I put the Java 5 version of Osmosis in a directory, and then run this
command from a prompt,
java -jar osmosis.jar
I get back:
INFO: Osmosis Version 0.24.1-java5
INFO: Preparing pipeline
INFO: Launching pipeline execution
INFO: Pipeline executing, waiting for completion.
INFO: Pipeline complete.
... but I am really unsure where to go from here, and how to actually run
Osmosis commands as presented at that Wiki page? :-)
Could you please point me in the right direction, if possible? :-)
----- Original Message -----
From: "Stefan Baebler"
To: "Fire Girl"
Subject: Re: [OSM-dev] Question about .bz2 file parsing
Date: Sat, 14 Jun 2008 07:35:32 +0200
Try Osmosis. It's written in Java and works nicely also on windows.
It can read osm.bz2 and can extract bounding boxes.
http://wiki.openstreetmap.org/index.php/Osmosis
Stefan
Fire Girl wrote:
>
>
> Greetings
>
> But ok, are there any Windows tools for parsing a decompressed
> OSM file for a Country into a smaller OSM file based on a
> bounding box input? :)
>
> ----- Original Message -----
> From: "Iván Sánchez Ortega"
> To: dev at openstreetmap.org
> Subject: Re: [OSM-dev] Question about .bz2 file parsing
> Date: Sat, 14 Jun 2008 05:35:15 +0200
>
>
> El Sábado, 14 de Junio de 2008, Fire Girl escribió:
> > Hello, can someone be so kind to point the way to any Windows
based
> > tools, that will parse a .bz2 file directly,
>
> None! You have to decompress the file first!!!
>
> Use 7-zip/Winzip/winrar, or whatever tool you like the most. A
> graphical tool
> may clog on files > 4GB, so please also try with a command-line
> bunzip2 tool.
>
>
> Cheers,
> --
> ----------------------------------
> Iván Sánchez Ortega
>
> Now listening to: Sugababes - Three (2003) - [10] Too Lost in You
> (3:56)
> (96.000000%)
> << signature.asc >>
>
>
> -- See Exclusive Videos: * 10th Annual Young Hollywood Awards*
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
--
See Exclusive Videos: 10th Annual Young Hollywood Awards
http://www.hollywoodlife.net/younghollywoodawards2008/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080614/ddafeb59/attachment.html>
More information about the dev
mailing list