<div dir="ltr">I just noticed you said the 27MB file was truncated. Do you mean it didn't get closed with an </osm> tag at the end? Or do you mean it was smaller than expected?<br><br>One other thing that might be worth mentioning. The osmosis bzip2 support is very slow. It might be worth recompressing files as gzip if you wish to improve performance. It will take up some more disk space but will run *much* faster.<br>
<br><div class="gmail_quote">On Fri, Jul 25, 2008 at 4:30 PM, Brett Henderson <<a href="mailto:brett@bretth.com">brett@bretth.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hmm dunno. It certainly looks like you're doing the right thing ... there's no reason why this shouldn't work. Osmosis doesn't care much about the size of the file.<br><br>Are you sure you're running osmosis against the correct segment_earth.osm file? I notice you had both a compressed (bz2 file) and uncompressed version of the command line at the end of your email. Could you have run the new york extraction against an old version?<br>
<br><div class="gmail_quote">2008/7/25 Fire Girl <<a href="mailto:firegirl@amorous.com" target="_blank">firegirl@amorous.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">
Hi, I wanted to thank others who have help me understand OSM better! Marco, Andy, and others recently.<br><br>Here is where I am having a gaffe.... Ok, when I run this command on Osmosis, against the Planet OSM file,<br>
<br>java.exe -jar osmosis.jar" --rx "planet-latest.osm.bz2" enableDateParsing="YES" --lp interval="600" --bb left="-75" right="-73" top="42" bottom="40" --wx "new_york_area.osm"<br>
<br>It generates a huge OSM for New York Area, which is complete.<br><br>However... If I run this command against the Planet OSM file,<br><br>java.exe -jar osmosis.jar" --rx "planet-latest.osm.bz2"
enableDateParsing="YES" --lp interval="600" --bb left="-108" right="-36"
top="90" bottom="0" --wx "segment_earth.osm"<br>
<br>It creates a 2.4 GB file. But, I don't think it is complete. Because, if I thereafter, try to extract the New York Slice from this file, I get a truncated 27MB file with hardly anything in it. The Lat/Lon coodinates match the above extraction right? Am I doing something wrong.... or can I simply not extract such a huge sub-slice before slicing it down further? <br>
<br>running,<br><br>java.exe -jar osmosis.jar" --rx "segment_earth.osm" enableDateParsing="YES" --lp interval="600" --bb left="-75" right="-73" top="42" bottom="40" --wx "new_york_area.osm"<br>
java.exe -jar osmosis.jar" --rx "segment_earth.osm.bz2"
enableDateParsing="YES" --lp interval="600" --bb left="-75" right="-73"
top="42" bottom="40" --wx "new_york_area.osm"<br>
<br>generates a 27MB file from this.<br><br>What is up? :)<br><font color="#888888"><br>
--
<div> Be Yourself @ <a href="http://mail.com" target="_blank">mail.com</a>!<br>
Choose From 200+ Email Addresses<br>
Get a <b>Free</b> Account at <a href="http://www.mail.com/Product.aspx" target="_blank">www.mail.com</a>!</div>
</font><br></div></div>_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>