Hello,

I was trying to extract a bounding box from an OSM file that was 
generated using mkgmap splitter (ouput OSM is version 0.5). I reused the 
command line I have for splitting the planet with replacing --read-xml 
with --read-xml-0.5. Now I get the following error message. What does it 
mean to begin with? And how can I extract the bounding box from my file?

org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task 
2-bounding-box does not support data provided by default pipe stored at 
level 1 in the default pipe stack.

My complete command line is /bin/zcat 
/mnt/donnees/OSM/maps/splitter/12000004.osm.gz | 
/home/bin/osmosis-0.35/bin/osmosis --read-xml-0.5 enableDateParsing=no 
file=/dev/stdin --bounding-box top=42.77 left=-83.13 bottom=42.71 
right=-83.05 --write-xml file=- | /usr/bin/bzip2 > 
/mnt/donnees/OSM/maps/StonyCreek.osm.bz2

I googled around and found some messages related to changesets. My input 
file does not contain any changeset, just nodes, relations and ways.

   Thanks,

N.


_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to