Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Msg error in osmosis when bboxing with bounding-polygon #5

Closed
severinmenard opened this issue May 9, 2012 · 2 comments
Closed

Msg error in osmosis when bboxing with bounding-polygon #5

severinmenard opened this issue May 9, 2012 · 2 comments

Comments

@severinmenard
Copy link

Hi,

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
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

@scrosby
Copy link
Contributor

scrosby commented May 10, 2012

Can't answer your question, but I suggest you ask it on one of the osm lists.

Scott

On Wed, May 9, 2012 at 10:35 AM, severinmenard
reply@reply.github.com
wrote:

Hi,

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
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


Reply to this email directly or view it on GitHub:
#5

@brettch
Copy link
Member

brettch commented Jun 10, 2012

As mentioned above, this is best discussed on a mailing list. The Osmosis Development list can be joined at the following URL:
http://lists.openstreetmap.org/listinfo/osmosis-dev

@brettch brettch closed this as completed Jun 10, 2012
willtemperley pushed a commit to willtemperley/osmosis that referenced this issue Aug 18, 2023
…d-not-be-duplicated-fix-1

squid:S1192 - String literals should not be duplicated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants