[OSM-dev] osmosis, tee and bounding boxes

Igor Brejc igor.brejc at gmail.com
Sun Sep 7 19:45:58 BST 2008


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

Frederik Ramm wrote:
>
> Maybe you have a newer Osmosis version and the assignment of the 
> different i/o streams has changed. Try playing with the order of 
> options (try alternating --bounding-box and --write-xml) or assign the 
> pipes explicitly.


-- 
http://igorbrejc.net





More information about the dev mailing list