[osmosis-dev] Msg error with osmosis when bboxing
Séverin MENARD
severin.menard at gmail.com
Sun May 13 13:56:57 BST 2012
Hi,
I have a small issue with osmosis. Already post this message on OSM help
(no answer) and Osmosis Github (have been told I hould ask one of the osm
lists). If this is not the appropriate place please tell me what should be
the good one.
I would like to make an extract with Osmosis for the Bahia state in Brazil
from the brasil.osm.bz2 file that can be found on
http://download.geofabrik.de/osm/south-america/
osmosis --read-xml file="D:/OSM/Salvador/brazil.osm" --bounding-polygon
file="D:/OSM/Salvador/Bahia_contour.poly" --write-xml
file="D:/OSM/Salvador/bahia.osm"
My specs are :
- OS Vista SP1
- Osmosis 0.40.1 (installed by running a frist osmosis as indicated here
http://wiki.openstreetmap.org/wiki/Osmosis/Installation )
I get this error message :
D:\OSM\osmosis-0.40.1\bin>osmosis --read-xml
file="D:/OSM/Salvador/brazil.osm" -
-bounding-polygon file="D:/OSM/Salvador/Bahia_contour.poly" --write-xml
file="D:
/OSM/Salvador/bahia.osm"
6 mai 2012 11:28:36 org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.40.1
6 mai 2012 11:28:36 org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory -
org.apache.xerces.jaxp.SAXParserFactoryImpl at 45a87
7
6 mai 2012 11:28:36 org.java.plugin.registry.xml.PluginRegistryImpl
configure
INFO: configured, stopOnError=false, isValidating=true
6 mai 2012 11:28:37 org.java.plugin.registry.xml.PluginRegistryImpl register
INFO: plug-in and fragment descriptors registered - 1
6 mai 2012 11:28:37 org.java.plugin.standard.StandardPluginManager
activatePlugi
n
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core at 0.40.1
6 mai 2012 11:28:37 org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
6 mai 2012 11:28:37 org.openstreetmap.osmosis.core.Osmosis main
GRAVE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: The following named
pipe
s () and 1 default pipes have not been terminated with appropriate output
sinks.
at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(
Pipeline.java:94)
at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipel
ine.java:116)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:86)
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(Laun
cher.java:329)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:239)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Does anyone have an idea where is my mistake ?
Sincerely,
Severin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120513/b4369334/attachment.html>
More information about the osmosis-dev
mailing list