[osmosis-dev] Error with read-pbf
Jean-Michel Hélary
jean-michel.helary at club-internet.fr
Tue Sep 11 23:20:23 BST 2012
Le 11/09/2012 23:30, Igor Podolskiy a écrit :
> Hi Jean-Michel,
>
>> 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*.
> could you please post the full error output (with stack trace) so we
> can see where the exception originates?
>
> Bye
> Igor
>
Hi Igor,
Here is the full output :
C:\maperitive\MesCartes>C:\osmosis-latest\osmosis-0.41\bin\osmosis
--read-pbf file="languedoc-roussillon.osm.pbf"
--bounding-box top=43.70 left=3.7792 bottom=43.5292 right=3.98
--write-xml file="new-montpellier.osm"
12 sept. 2012 00:08:49 org.openstreetmap.osmosis.core.Osmosis main
GRAVE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument 1
specifies an
unrecognised option.
at
org.openstreetmap.osmosis.core.cli.CommandLineParser.parse(CommandLineParser.java:92)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:74)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Jean-Michel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120912/4ff7f6f0/attachment-0001.html>
More information about the osmosis-dev
mailing list