<br>
<div>
<br>
Thank you Stefan, I will give that a try! I think I am grasping the command line structures better now.<br><br><br>Quick question Lauri, ... is that Polygon file you referenced something I can get my hands on? The country2pts.txt looks like it might be quite useful! :)<br><br>Best wishes, Fire Girl.<br><br><br><br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">----- Original Message -----<br>
From: "Lauri Hahne" <lauri.hahne@gmail.com><br>
To: "Fire Girl" <firegirl@amorous.com>, dev@openstreetmap.org<br>
Subject: Re: [OSM-dev] Question about .bz2 file parsing<br>
Date: Sat, 14 Jun 2008 12:51:33 +0300<br>
<br>
<br>
E.g. java -jar osmosis.jar --read-xml file="planet-latest.osm"<br>
--bounding-polygon file="country2pts.txt" --write-xml<br>
file="germany.osm"<br>
<br>
<br>
2008/6/14 Fire Girl <firegirl@amorous.com>:<br>
><br>
> Wow, that is excellent. I had this right under my nose and didn't know it!<br>
><br>
> I installed Java 5 on my Windows XP 64 bit machine, and then the <br>
> Java 5 version of Osmosis. It took me a moment to re-orient <br>
> myself.... but I think I made a little progress.... but have a <br>
> slight knowledge gap how to parse commands with it.<br>
><br>
> If I put the Java 5 version of Osmosis in a directory, and then <br>
> run this command from a prompt,<br>
><br>
> java -jar osmosis.jar<br>
><br>
> I get back:<br>
><br>
> INFO: Osmosis Version 0.24.1-java5<br>
> INFO: Preparing pipeline<br>
> INFO: Launching pipeline execution<br>
> INFO: Pipeline executing, waiting for completion.<br>
> INFO: Pipeline complete.<br>
><br>
> ... but I am really unsure where to go from here, and how to <br>
> actually run Osmosis commands as presented at that Wiki page? :-)<br>
><br>
> Could you please point me in the right direction, if possible? :-)<br>
><br>
><br>
> ----- Original Message -----<br>
> From: "Stefan Baebler"<br>
> To: "Fire Girl"<br>
> Subject: Re: [OSM-dev] Question about .bz2 file parsing<br>
> Date: Sat, 14 Jun 2008 07:35:32 +0200<br>
><br>
><br>
> Try Osmosis. It's written in Java and works nicely also on windows.<br>
> It can read osm.bz2 and can extract bounding boxes.<br>
><br>
> http://wiki.openstreetmap.org/index.php/Osmosis<br>
><br>
> Stefan<br>
><br>
> Fire Girl wrote:<br>
> ><br>
> ><br>
> > Greetings<br>
> ><br>
> > But ok, are there any Windows tools for parsing a decompressed<br>
> > OSM file for a Country into a smaller OSM file based on a<br>
> > bounding box input? :)<br>
> ><br>
> > ----- Original Message -----<br>
> > From: "Iván Sánchez Ortega"<br>
> > To: dev@openstreetmap.org<br>
> > Subject: Re: [OSM-dev] Question about .bz2 file parsing<br>
> > Date: Sat, 14 Jun 2008 05:35:15 +0200<br>
> ><br>
> ><br>
> > El Sábado, 14 de Junio de 2008, Fire Girl escribió:<br>
> > > Hello, can someone be so kind to point the way to any Windows based<br>
> > > tools, that will parse a .bz2 file directly,<br>
> ><br>
> > None! You have to decompress the file first!!!<br>
> ><br>
> > Use 7-zip/Winzip/winrar, or whatever tool you like the most. A<br>
> > graphical tool<br>
> > may clog on files > 4GB, so please also try with a command-line<br>
> > bunzip2 tool.<br>
> ><br>
> ><br>
> > Cheers,<br>
> > --<br>
> > ----------------------------------<br>
> > Iván Sánchez Ortega<br>
> ><br>
> > Now listening to: Sugababes - Three (2003) - [10] Too Lost in You<br>
> > (3:56)<br>
> > (96.000000%)<br>
> > << signature.asc >><br>
> ><br>
> ><br>
> > -- See Exclusive Videos: * 10th Annual Young Hollywood Awards*<br>
> ><br>
> > ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > dev mailing list<br>
> > dev@openstreetmap.org<br>
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev<br>
> ><br>
><br>
> --<br>
> See Exclusive Videos: 10th Annual Young Hollywood Awards<br>
><br>
> _______________________________________________<br>
> dev mailing list<br>
> dev@openstreetmap.org<br>
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev<br>
><br>
<br>
<br>
<br>
--<br>
Lauri Hahne<br>
</firegirl@amorous.com></firegirl@amorous.com></lauri.hahne@gmail.com></blockquote>
</div>
<BR>
--
<div> See Exclusive Videos: <a href="http://link.brightcove.com/services/player/bcpid1403465002?bclid=1527697154&bctid=1531204364", target="_blank"> <b> 10th Annual Young Hollywood Awards</b></a><br>
</div>