OsmosisRuntimeException: Pipeline entities are not sorted or contain multiple versions of a single entity, previous entity type=Node, id=191805, version=5 current entity type=Node, id=191805, version=6.
Im having trouble with Osmosis when I try to apply a change set to a OSM file. I tried the following:
- Extract a City data as OSM file from Planet OSM (using bounding poly file)
- Sort the generated OSM
- Get the immediate next change set file (OSC file) from Planet OSM website
- Sort the Change set file
- Run the osmosis apply-change command like below:
$>osmosis --rxc d:\change_set_15Apr_sorted.osc --rx d:\myCity_sorted.osm --ac --wx d:\myCity_merged.osm
Osmosis throws the following exception: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Pipeline entities are not sorted or contain multiple versions of a single entity, previous entity type=Node, id=191805, version=5 current entity type=Node, id=191805, version=6. at org.openstreetmap.osmosis.core.sort.v0_6.SortedDeltaChangePipeValidator.process(SortedDeltaChangePipeValidato r.java:49) at org.openstreetmap.osmosis.xml.v0_6.impl.ChangeSourceElementProcessor$ChangeSinkAdapter.process(ChangeSourceEl ementProcessor.java:134) at org.openstreetmap.osmosis.xml.v0_6.impl.NodeElementProcessor.end(NodeElementProcessor.java:118) at org.openstreetmap.osmosis.xml.v0_6.impl.OsmChangeHandler.endElement(OsmChangeHandler.java:94) at org.apache.xerces.parsers.AbstractSAXParser.endElement(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$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
How do I eliminate the duplicated nodes?
Appreciate your help.
Thank you Kris
asked 01 May '12, 07:46

kris
46●4●4●7
accept rate: 0%
edited 29 Dec '14, 14:06

aseerel4c26 ♦
32.6k●18●248●554