Hi
I've just found the archive list & found a solution to the above problem, thanks to Honza czhonzapraha, however I've now encountered a few other errors.

Background info:
The command line option:
"C:\dwgs\Programs\GPS All\Osmosis\bin\osmosis" --rri --simc --rx Bath.osm --ac --bp clipIncompleteEntities=yes file=coords.txt --wx new.osm && copy new.osm Bath.osm /y && del new.osm

Conguration.txt:
# The URL of the directory containing change files.
baseUrl=http://planet.openstreetmap.org/replication/minute

# Defines the maximum time interval in seconds to download in a single invocation.
# Setting to 0 disables this feature.
maxInterval = 3600

State.txt:
#Wed Jul 15 17:23:03 UTC 2015
sequenceNumber=1484119
txnMaxQueried=708576507
txnReadyList=
timestamp=2015-07-15T17\:23\:02Z
txnMax=708576507
txnActiveList=708576467,708576489


The returned output:
(Note for task 3 the OSM file is version 0.6 it has this as its second line: <osm version="0.6" generator="Overpass API">

Jul 16, 2015 5:39:28 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.44.1
Jul 16, 2015 5:39:28 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Jul 16, 2015 5:39:28 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Jul 16, 2015 5:39:28 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Jul 16, 2015 5:39:36 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-rri failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting. at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors
(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue
(DataPostbox.java:213)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305) at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxChangeSink.process
(DataPostboxChangeSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedDeltaChangePipeValidator.process(SortedDeltaChangePipeValidator.java:70) at org.openstreetmap.osmosis.set.v0_6.impl.ChangeSimplifierImpl.flushCurrentChanges(ChangeSimplifierImpl.java:60) at org.openstreetmap.osmosis.set.v0_6.impl.ChangeSimplifierImpl.process(ChangeSimplifierImpl.java:88) at org.openstreetmap.osmosis.core.sort.v0_6.SortedHistoryChangePipeValidator.process(SortedHistoryChangePipeValidator.java:71) at org.openstreetmap.osmosis.set.v0_6.ChangeSimplifier.process(ChangeSimplifier.java:50) at org.openstreetmap.osmosis.core.sort.v0_6.ChangeSorter.complete(ChangeSorter.java:73) at org.openstreetmap.osmosis.replication.v0_6.ReplicationDownloader.processComplete(ReplicationDownloader.java:116) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl(BaseReplicationDownloader.java:313) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(BaseReplicationDownloader.java:383)
        at java.lang.Thread.run(Unknown Source)

Jul 16, 2015 5:39:36 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 3-rx failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Node 104771 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(NodeElementProcessor.java:95) at org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.startElement(OsmHandler.java:90) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 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 Source)
        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:111)
        at java.lang.Thread.run(Unknown Source)

Jul 16, 2015 5:39:36 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 4-ac failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An input error has occurred, aborting. at org.openstreetmap.osmosis.core.store.DataPostbox.checkForInputErrors(DataPostbox.java:174) at org.openstreetmap.osmosis.core.store.DataPostbox.consumeCentralQueue(DataPostbox.java:239) at org.openstreetmap.osmosis.core.store.DataPostbox.hasNext(DataPostbox.java:441) at org.openstreetmap.osmosis.set.v0_6.ChangeApplier.run(ChangeApplier.java:186)
        at java.lang.Thread.run(Unknown Source)

Jul 16, 2015 5:39:36 PM 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.waitForCompletion(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(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)


Hope you can help
Cheers
Dave F.

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to