[osmosis-dev] Error with read-pbf

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


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: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/6eb6b910/attachment.html>


More information about the osmosis-dev mailing list