[OSM-dev] [OSM-talk] osmosis Problem with bounding-polygon and v0.6?

Brett Henderson brett at bretth.com
Sat Apr 25 04:29:21 BST 2009

Marco Lechner - FOSSGIS e.V. wrote:
> An interesting additional behavior:
> If I use
> bzcat ../planet-090421.osm.bz2 | ./bin/osmosis --read-xml-0.6 file=-
> --bounding-polygon-0.6 file=../aoi.pff --write-xml-0.6
> file=../aoi_2009-04-21_v06.osm
> instead of
> ./bin/osmosis --read-xml-0.6 file=path/planet-090421.osm.bz2
> compressionMethod=bzip2 --bounding-polygon-0.6 file=path/aoi.pff
> --write-xml-0.6 file=path/aoi_2009-04-21_v06.osm
> it seems to work (still running).
> Although using bzcat has a better performance, the build-in function
> should work, shouldn't it? But there seems to be a bug. Is this a bug?
> Can anybody reproduce this?
Hi Marco,

I've taken a quick look and I get the same error.  The xml looks okay to 
me so perhaps there is a bug in the bz2 support.  For now continue to 
use the bzcat method of decompressing the file (the java bz2 performance 
is horrible anyway).

I'll take a look into why it is failing as soon as I can.


More information about the dev mailing list