[Talk-de] hilfe bei osmosis

Jan Tappenbeck osm at tappenbeck.net
Fr Nov 16 09:43:48 UTC 2012


hi !

ich kämpfe mal wieder mit osmosis - habe vorher die Daten über die 
Overpass heruntergeladen, UserID und UserName hineingeschoben und damit 
sollte es wieder funktionieren.

Der Aufruf von osmosis mache ich mit

%osmworkfolder%\osmosis\bin\osmosis.bat --read-xml 
"%tempfolder%$osm4map_basedata_%theme%_User.osm" --read-xml 
"%maperitive_folder%_AdditionalData\add_motorway_junction.osm" --m 
--write-xml "%tempfolder%$osm4map_basedata_%theme%_merge.osm"

Dann kommt es zu folgender Meldung:

Verschmelzen mit Zusatzdaten
16.11.2012 10:35:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.40.1
16.11.2012 10:35:20 org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory - 
org.apache.xerces.jaxp.SAXParserFactoryImpl at 360be
0
16.11.2012 10:35:20 org.java.plugin.registry.xml.PluginRegistryImpl 
configure
INFO: configured, stopOnError=false, isValidating=true
16.11.2012 10:35:20 org.java.plugin.registry.xml.PluginRegistryImpl register
INFO: plug-in and fragment descriptors registered - 1
16.11.2012 10:35:20 org.java.plugin.standard.StandardPluginManager 
activatePlugi
n
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core at 0.40.1
16.11.2012 10:35:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
16.11.2012 10:35:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
16.11.2012 10:35:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
16.11.2012 10:35:20 
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskMan
ager waitForCompletion
SCHWERWIEGEND: Thread for task 1-read-xml failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error 
has occu
rred, aborting.
         at 
org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors
(DataPostbox.java:78)
         at 
org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue
(DataPostbox.java:129)
         at 
org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java
:184)
         at 
org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataP
ostboxSink.java:34)
         at 
org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.pr
ocess(SortedEntityPipeValidator.java:58)
         at 
org.openstreetmap.osmosis.xml.v0_6.impl.NodeElementProcessor.end(Node
ElementProcessor.java:118)
         at 
org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.endElement(OsmHand
ler.java:107)
         at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
         at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
         at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at 
org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:108)
         at java.lang.Thread.run(Unknown Source)
16.11.2012 10:35:20 
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskMan
ager waitForCompletion
SCHWERWIEGEND: Thread for task 2-read-xml failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Node -2731 does 
not have
  a version attribute as OSM 0.6 are required to have.  Is this a 0.5 file?
         at 
org.openstreetmap.osmosis.xml.v0_6.impl.NodeElementProcessor.begin(No
deElementProcessor.java:74)
         at 
org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.startElement(OsmHa
ndler.java:90)
         at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
         at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at 
org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:108)
         at java.lang.Thread.run(Unknown Source)
16.11.2012 10:35:20 
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskMan
ager waitForCompletion
SCHWERWIEGEND: Thread for task 3-m failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An input error 
has occur
red, aborting.
         at 
org.openstreetmap.osmosis.core.store.DataPostbox.checkForInputErrors(
DataPostbox.java:90)
         at 
org.openstreetmap.osmosis.core.store.DataPostbox.consumeCentralQueue(
DataPostbox.java:160)
         at 
org.openstreetmap.osmosis.core.store.DataPostbox.hasNext(DataPostbox.
java:237)
         at 
org.openstreetmap.osmosis.set.v0_6.EntityMerger.nextOrNull(EntityMerg
er.java:285)
         at 
org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java
:120)
         at java.lang.Thread.run(Unknown Source)
16.11.2012 10:35:20 org.openstreetmap.osmosis.core.Osmosis main
SCHWERWIEGEND: 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)

X:\MaperativeStyles\Stadtplan_JT>

Die OSM-Datei fängt wie folgt an - siehe unten.

Kann mir einer die Fehlermeldung deuten.

Gruß Jan :-)

<?xml version='1.0' encoding='UTF-8'?>
<osm version="0.6" generator="osmconvert 0.7G">
<node id="147967" lat="53.7630281" lon="10.3829405" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147968" lat="53.7609912" lon="10.38034" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147969" lat="53.7566007" lon="10.3751057" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147970" lat="53.7524573" lon="10.3699676" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147971" lat="53.7472787" lon="10.3639909" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147972" lat="53.7443185" lon="10.361429" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147973" lat="53.7401305" lon="10.3575086" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147974" lat="53.7359203" lon="10.3538506" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147975" lat="53.7318931" lon="10.3502717" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147976" lat="53.7280662" lon="10.3468854" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147977" lat="53.7242417" lon="10.3435174" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/><?xml version='1.0' 
encoding='UTF-8'?>
<osm version="0.6" generator="osmconvert 0.7G">
<node id="147967" lat="53.7630281" lon="10.3829405" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147968" lat="53.7609912" lon="10.38034" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147969" lat="53.7566007" lon="10.3751057" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147970" lat="53.7524573" lon="10.3699676" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147971" lat="53.7472787" lon="10.3639909" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147972" lat="53.7443185" lon="10.361429" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147973" lat="53.7401305" lon="10.3575086" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147974" lat="53.7359203" lon="10.3538506" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147975" lat="53.7318931" lon="10.3502717" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147976" lat="53.7280662" lon="10.3468854" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>
<node id="147977" lat="53.7242417" lon="10.3435174" version="1" 
timestamp="1970-01-01T00:00:01Z" changeset="1"/>




Mehr Informationen über die Mailingliste Talk-de