NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hey guys,

Trying to split a planet dump from before the earthquake in Haiti, I am undergoing some trouble. I am using a .poly-file from Geofabrik and the planet dump is from the 6th January 2010. I am using the latest Osmosis version (0.43) with the following command:

osmosis --read-xml file="planet-100106.osm" --bounding-polygon file="haiti-and-domrep.poly" --write-xml file="haiti-100107.osm" -v5

Osmosis will start doing something for 5 minutes to 2 hours and then sooner or later give out the following Error. Do you have any ideas why this is happening? I am desperate!


G:\>osmosis --read-xml file="planet-100106.osm" --bounding-polygon file="haiti-a
nd-domrep.poly" --write-xml file="haiti-100107.osm" -v5
Oct 31, 2014 11:31:44 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMATION: Osmosis Version 0.43.1
Oct 31, 2014 11:31:45 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMATION: Preparing pipeline.
Oct 31, 2014 11:31:45 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMATION: Launching pipeline execution.
Oct 31, 2014 11:31:45 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMATION: Pipeline executing, waiting for completion.
Oct 31, 2014 11:34:49 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTa
skManager waitForCompletion
SCHWERWIEGEND: Thread for task 1-read-xml failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to read XML file
        at Source)
Caused by: Datenfehler (CRC-Pr³fung)
        at Method)
        at Source)
        at org.apache.xerces.impl.XMLEntityManager$
known Source)
        at Source)
        at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.scanLiteral(Unknown Source)
        at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(U
nknown 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
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        ... 1 more

Oct 31, 2014 11:34:49 PM 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
        at org.openstreetmap.osmosis.core.Osmosis.main(
        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
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(
        at org.codehaus.classworlds.Launcher.main(

asked 31 Oct '14, 22:55

kartenmalergidi's gravatar image

accept rate: 0%

As Frederik pointed out this is likely a disk error

Caused by: Datenfehler (CRC-Pr³fung)

I would suggest checking your logs etc.

permanent link

answered 01 Nov '14, 08:36

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%


Hey Simon, thank you for the assitance. You were correct: one of my external Hard Disks was spoiled causing the mistake.

(09 Nov '14, 16:42) kartenmalergidi

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 31 Oct '14, 22:55

question was seen: 4,605 times

last updated: 09 Nov '14, 16:42

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum