[osmosis-dev] Error with read-pbf

Jean-Michel Hélary jean-michel.helary at club-internet.fr
Tue Sep 11 18:07:20 BST 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120911/6595ee6e/attachment.html>


More information about the osmosis-dev mailing list