[osmosis-dev] Error with read-pbf
Curt Nowak
nowak at bwl.uni-hildesheim.de
Tue Sep 11 18:13:38 BST 2012
At least in the command in your mail you're missing a blank space between "left=..." and "bottom=...".
Maybe that's it already?
Curt
-----Ursprüngliche Nachricht-----
Von: Jean-Michel Hélary [mailto:jean-michel.helary at club-internet.fr]
Gesendet: Dienstag, 11. September 2012 19:07
An: osmosis-dev at openstreetmap.org
Betreff: [osmosis-dev] Error with read-pbf
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/e380dd7d/attachment.html>
More information about the osmosis-dev
mailing list