logo separator

[mkgmap-dev] How to solve/debug weird problem

From Johannes Formann johannes at formann.de on Tue Jan 18 20:52:13 GMT 2011

Marko Mäkelä <marko.makela at iki.fi> wrote:

> >> If it is a mkgmap bug then we will need more information.  Does it
> >> happen with unpatched mkgmap? With just the basic options?
> >
> >What are "basic" options?
> 
> You can find a rather basic set of options in my scripts at 
> http://www.polkupyoraily.net/osm/. Of those options, I would consider
> generate-sea fancy.

rerun with a reduced option set (an the debug-patch still active):
    [apply] Executing 'java' with arguments:
'-Xms256m'
'-Xmx2560m'
'-ea'
'-jar'
'mkgmap.jar'
'--max-jobs=1'
'--style-file=radkarte'
'--overview-mapnumber=59420000'
'--overview-mapname=59420000'
'--series-name=OSM_Radkarte'
'--product-id=1'
'--family-id=5942'
'--family-name=OSM Radkarte 18.01.2011'
'--country-name=Deutschland'
'--country-abbr=DE'
'--latin1'
'--code-page=1252'
'--add-pois-to-areas'
'--adjust-turn-headings'
'--drive-on-right'
'--check-roundabouts'
'--remove-short-arcs=3.3''--net''--route'
'--gmapsupp''--tdbfile''--index'
'M0001736.TYP''-c''/home/osm/build/template.args'

But got an Exception again.

    [apply] SEVERE (MapSplitter): /home/osm/build/59420059.osm.gz: Area
too small to split at
http://www.openstreetmap.org/?mlat=54.63765&mlon=9.72279&zoom=17 (reduce
the density of points, length of lines, etc.)
    [apply] java.lang.AssertionError: deltaLong = 36103
    [apply]     at
uk.me.parabola.imgfmt.app.trergn.MapObject.setDeltaLong(MapObject.java:1
39)
    [apply]     at
uk.me.parabola.imgfmt.app.trergn.MapObject.setLongitude(MapObject.java:1
28)
    [apply]     at
uk.me.parabola.imgfmt.app.trergn.LinePreparer.calcLatLong(LinePreparer.j
ava:176)
    [apply]     at
uk.me.parabola.imgfmt.app.trergn.LinePreparer.<init>(LinePreparer.java:6
2)
    [apply]     at
uk.me.parabola.imgfmt.app.trergn.Polyline.write(Polyline.java:83)
    [apply]     at
uk.me.parabola.imgfmt.app.trergn.RGNFile.addMapObject(RGNFile.java:140)
    [apply]     at
uk.me.parabola.imgfmt.app.map.Map.addMapObject(Map.java:241)
    [apply]     at
uk.me.parabola.mkgmap.build.MapBuilder$LineAddFilter.doFilter(MapBuilder
.java:1044)
    [apply]     at
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.j
ava:57)
    [apply]     at
uk.me.parabola.mkgmap.filters.RemoveEmpty.doFilter(RemoveEmpty.java:61)
    [apply]     at
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.j
ava:57)
    [apply]     at
uk.me.parabola.mkgmap.filters.LineSplitterFilter.doFilter(LineSplitterFi
lter.java:60)
    [apply]     at
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.j
ava:57)
    [apply]     at
uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChai
n.java:75)
    [apply]     at
uk.me.parabola.mkgmap.build.MapBuilder.processLines(MapBuilder.java:902)
    [apply]     at
uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:6
49)
    [apply]     at
uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:584)
    [apply]     at
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:195)
    [apply]     at
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:97)
    [apply]     at
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
    [apply]     at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)
    [apply]     at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:217)
    [apply]     at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    [apply]     at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
    [apply]     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)
    [apply]     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:908)
    [apply]     at java.lang.Thread.run(Thread.java:662)
    [apply] Exiting - if you want to carry on regardless, use the
--keep-going option


greetings

Johannes




More information about the mkgmap-dev mailing list