[osmosis-dev] Problems with Osmosis

Maxime Lemaitre maximelemaitre89 at gmail.com
Tue Jun 11 08:02:09 UTC 2013


Hi,

I'm trying to extract osm files from "gironde" for "aquitaine latest.osm".
Command doesn't work and I don't know why.

The result is :


juin 11, 2013 9:43:21 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
juin 11, 2013 9:43:21 AM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory -
org.apache.xerces.jaxp.SAXParserFactoryImpl at 1eb8f
71
juin 11, 2013 9:43:22 AM org.java.plugin.registry.xml.PluginRegistryImpl
configu
re
INFO: configured, stopOnError=false, isValidating=true
juin 11, 2013 9:43:22 AM org.java.plugin.registry.xml.PluginRegistryImpl
registe
r
INFO: plug-in and fragment descriptors registered - 1
juin 11, 2013 9:43:22 AM org.java.plugin.standard.StandardPluginManager
activate
Plugin
INFO: plug-in started -
org.openstreetmap.osmosis.core.plugin.Core at 0.0.0.42-6-gf
39a160-dirty
juin 11, 2013 9:43:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
juin 11, 2013 9:43:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
juin 11, 2013 9:43:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
juin 11, 2013 9:43:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
juin 11, 2013 9:43:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 420 milliseconds.

C:\Program Files (x86)\Osmosis\bin>osmosis --read-xml
file="aquitaine-latest.osm
" --bounding-polygon file="gironde.poly" --write-xml file="gironde.osm"

juin 11, 2013 9:45:21 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
juin 11, 2013 9:45:21 AM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory -
org.apache.xerces.jaxp.SAXParserFactoryImpl at 101d0
1
juin 11, 2013 9:45:21 AM org.java.plugin.registry.xml.PluginRegistryImpl
configu
re
INFO: configured, stopOnError=false, isValidating=true
juin 11, 2013 9:45:21 AM org.java.plugin.registry.xml.PluginRegistryImpl
registe
r
INFO: plug-in and fragment descriptors registered - 1
juin 11, 2013 9:45:21 AM org.java.plugin.standard.StandardPluginManager
activate
Plugin
INFO: plug-in started -
org.openstreetmap.osmosis.core.plugin.Core at 0.0.0.42-6-gf
39a160-dirty
juin 11, 2013 9:45:21 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
juin 11, 2013 9:45:21 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
juin 11, 2013 9:45:21 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
juin 11, 2013 9:45:21 AM
org.openstreetmap.osmosis.core.pipeline.common.ActiveTa
skManager waitForCompletion
SEVERE: Thread for task 1-read-xml failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to read XML
file
aquitaine-latest.osm.
        at
org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:126)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: aquitaine-latest.osm (Le fichier
spÚci
fiÚ est introuvable)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at
org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:101)
        ... 1 more

juin 11, 2013 9:45:21 AM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks
failed
.
        at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForComple
tion(Pipeline.java:146)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
        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)


I just start to use Osmosis, it's probably a syntax error or and install
error.
Thanks for your Help ! (and sorry for the english :) )

Cordialement

-- 

Maxime Lemaitre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130611/596baf9e/attachment.html>


More information about the osmosis-dev mailing list