[OSM-dev] Osmosis woes, something not right - can someone pls. see why?

Fire Girl firegirl at amorous.com
Fri Jul 25 06:34:30 BST 2008


Hi, I wanted to thank others who have help me understand OSM better! 
Marco, Andy, and others recently.

Here is where I am having a gaffe.... Ok, when I run this command on
Osmosis, against the Planet OSM file,

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"

It generates a huge OSM for New York Area, which is complete.

However... If I run this command against the Planet OSM file,

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"

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? 

running,

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"
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"

generates a 27MB file from this.

What is up? :)

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080725/2b0f64bf/attachment.html>


More information about the dev mailing list