[OSM-dev] osmosis, tee and bounding boxes
Brett Henderson
brett at bretth.com
Sun Sep 7 23:37:02 BST 2008
On Mon, Sep 8, 2008 at 4:45 AM, Igor Brejc <igor.brejc at gmail.com> wrote:
> You were right about alternating --bounding-box and --write-xml (I'm
> using the latest 0.29 version). The following works:
>
> --read-xml SloveniaGarmin.osm --tee 4
> --bounding-box left=15 top=46 right=17 bottom=45 --write-xml
> SloveniaGarminSE.osm
> --bounding-box left=15 bottom=46 right=17 top=47 --write-xml
> SloveniaGarminNE.osm
> --bounding-box right=15 top=46 --write-xml SloveniaGarminSW.osm
> --bounding-box right=15 bottom=46 --write-xml SloveniaGarminNW.osm
>
> So I guess the example on the
> http://wiki.openstreetmap.org/index.php/Osmosis/Examples page is
> outdated. I'll add this to the page as another example, since I'm not
> sure how the -bp option behaves.
>
> Igor
This has caught a few people out. The old behaviour used a queue for
holding available pipes, now it uses a stack. The way you now have the
command line constructed is the correct way of doing it. Perhaps I
shouldn't have changed the behaviour ...
The --bp and --bb tasks behaviour identically in this regard because the
logic for building pipelines is independent of the tasks themselves.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080908/8ff7419c/attachment.html>
More information about the dev
mailing list