Hi Curt,

Thanks for the answer. But the missing blank is just a mistake in the mail text, not in the command which I have typed, sorry!

Thanks anyway,

jean-Michel

Le 11/09/2012 19:13, Curt Nowak a écrit :
Nachricht
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:[email protected]]
    *Gesendet:* Dienstag, 11. September 2012 19:07
    *An:* [email protected]
    *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


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

Reply via email to