Hi,
I'm new on this mailing list, but I've been using osmosis during one year now.

Presently, I'm using osmosis 0.41 to extract a bounding box from a pbf file (downloaded from geofabrik). I'm using the following command :

osmosis --read-pbf file="languedoc-roussillon.osm.pbf" --bounding-box top=43.70 left=3.7792bottom=43.5292 right=3.98 --write-xml file="new-montpellier.osm"

but it fails (GRAVE :execution aborted) and throws the following exception : org.openstreetmap.osmosis.core.OsmosisRuntimeException: *Argument 1 specifies an unrecognized option*.

I don't  know what is wrong.

Previously, I used exactly the same command, except that I read an osm file instead of a pbf file, using the argument --read-xml file="xxxx.osm" and it worked perfectly.
Is there a problem with --read-pbf? Or just a syntax error that I don't see?

Thanks for your help!

Jean-Michel

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to