On 18.09.2012 13:07, Brett Henderson wrote:
On 12 September 2012 08:20, Jean-Michel Hélary
    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"
I don't have access to a Windows machine right now to validate your
command line.  It seems to work fine under Linux.

I verified the command with windows. Works fine.

D:\Downloads>d:\osm\osmosis-0.41\bin\osmosis --read-pbf file="planet-120912.osm.pbf" --bounding-box top=43.70 left=3.7792 bottom=43.5292 rig
ht=3.98 --write-xml file="new-montpellier.osm"
Sep 19, 2012 9:07:15 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.41
Sep 19, 2012 9:07:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Sep 19, 2012 9:07:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Sep 19, 2012 9:07:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Sep 19, 2012 9:23:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
Sep 19, 2012 9:23:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 960872 milliseconds.

D:\Downloads>ver

Microsoft Windows [Version 6.0.6002]


@Jean-Michel: What version of Windows are you using? Any special command interpreter?

@Brett: Could the exception be extended to be a bit more verbosive of what is unrecognized? It could highlight the unrecognized option and print the whole command line it received.


Stephan



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

Reply via email to