[OSM-dev] Osmosis bug?

Karl Newman siliconfiend at gmail.com
Tue Jul 15 20:39:07 BST 2008


On Tue, Jul 15, 2008 at 12:17 PM, Christian Linder <
christian.linder at gmail.com> wrote:

> Hi there,
>
> if I try to extract a bounding box from a file with osmosis 0.29, all
> output files contain the same data. My call works with Osmosis 0.24.
> Am I missing something?
>
> Best regards
> Christian
>
> bzcat /home/chrischan/Desktop/planet-latest.osm.bz2 | java -Xmx2048M
> -jar /home/chrischan/osm/osmosis/osmosis.jar  --rx file=/dev/stdin
> enableDateParsing=no --lp --tee 8 --bb left=-180 right=-89.99
> bottom=-90 top=0.01 --bb left=-180 right=-89.99 bottom=-0.01 top=90
> --bb left=-90.01 right=0.01 bottom=-90 top=0.01 --bb left=-90.01
> right=0.01 bottom=-0.01 top=90 --bb left=-0.01 right=90.01 bottom=-90
> top=0.01 --bb left=-0.01 right=90.01 bottom=-0.01 top=90 --bb
> left=89.99 right=180 bottom=-90 top=0.01 --bb left=89.99 right=180
> bottom=-0.01 top=90 --wx w180s90-w090n00.osm --wx w180n00-w090n90.osm
> --wx w090s90-e000n00.osm --wx w090n00-e000n90.osm --wx
> e000s90-e090n00.osm --wx e000n00-e090n90.osm --wx e090s90-e180n00.osm
> --wx e090n00-e180n90.osm
>
>
At some point (somewhere around 0.24 or 0.25 if I recall correctly), the
pipe processing order changed to more of a stack-based system. So, you might
try to write out your xml files (--wx) after each bounding box (--bb) call
instead of deferring them to the end.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080715/4f60eee5/attachment.html>


More information about the dev mailing list