[OSM-dev] Osmosis Output Error

Brett Henderson brett at bretth.com
Tue Dec 9 22:00:01 GMT 2008


Karl Newman wrote:
> On Tue, Dec 9, 2008 at 1:34 PM, Andrew Ayre <andy at britishideas.com 
> <mailto:andy at britishideas.com>> wrote:
>
>     Hi, I'm trying to merge two osm files. One contains a 1.5 deg x
>     1.5 deg
>     tile of data from the planet file. The other contains a 1.5 deg x 1.5
>     deg tile of contours from Srtm2Osm.
>
>     I'm using the current Osmosis svn HEAD (r12273). Here is my
>     command line:
>
>     java -Xmx1560m -jar /home/nav/scripts/osmosis.jar --read-xml
>     file="/home/nav/temp/tile.63255095.osm" --read-xml
>     file="/home/nav/temp/eletile.63255095.osm" --merge --write-xml
>     file="/home/nav/temp/mergedtile.63255095.osm"
>
>     Files:
>
>     nav at rotorouter:~/temp$ ls -lh
>     total 232M
>     -rw-r--r-- 1 nav nav  84M 2008-12-09 19:12 eletile.63255095.osm
>     -rw-r--r-- 1 nav nav 148M 2008-12-09 19:12 tile.63255095.osm
>
>     The start of the error output:
>
>     ----------------------------
>     SEVERE: Thread for task 1-read-xml failed
>     com.bretth.osmosis.core.OsmosisRuntimeException: An output error has
>     occurred, aborting
>     at
>     com.bretth.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:70)
>     at
>     com.bretth.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:121)
>     ----------------------------
>
>     I tried adding the -verbose option but there wasn't additional output.
>     Does anyone have any hints on how I can debug this further?
>
>     thanks, Andy
>
>     --
>     Andy
>     PGP Key ID: 0xDC1B5864
>
>
> I just noticed that Brett checked in some changes to the DataPostbox 
> today. Can you try with an earlier version (say r12258, just before 
> the change) to see if it works? I'm sure Brett would like to know if 
> something is broken.
Ouch.  Sorry about that.  I'll take a look this evening.  Karl (or 
anybody else familiar with osmosis), feel free to back out my change if 
you have time.  The changes should be isolated to that class.

Brett





More information about the dev mailing list