logo separator

[mkgmap-dev] mkgmap crashes with --road-name-pois

From Rutger Nijlunsing rutger.nijlunsing at gmail.com on Fri Sep 9 21:56:28 BST 2011

Hi all,

mkgmap r2023 (and many older version) crash when running with --road-name-pois
on file like in http://planet.openstreetmap.nl/benelux

++ /usr/lib/jvm/java-6-sun/bin/java -ea -Xmx4000m -jar
../mkgmap-r2023/mkgmap.jar --style-file=../aiostyles/basemap_style
--tdbfile --gmapsupp --max-jobs --adjust-turn-headings
--reduce-point-density=5 --merge-lines --route --remove-short-arcs=1
--link-pois-to-ways --family-id=4 --product-id=45
--family-name=OpenStreetmap --draw-priority=29 --add-pois-to-areas
--road-name-pois 63240001.osm.pbf [...snip...] 63240075.osm.pbf
../aiostyles/basemap.TYP
java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
        at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:951)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:537)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:766)
        at uk.me.parabola.imgfmt.app.srt.Sort.createSortKey(Sort.java:96)
        at uk.me.parabola.imgfmt.app.srt.Sort.createSortKey(Sort.java:150)
        at uk.me.parabola.mkgmap.main.MapMaker.makeRoadNamePOIS(MapMaker.java:266)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:64)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:222)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:219)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Exiting - if you want to carry on regardless, use the --keep-going option

Maybe some incorrect UTF-8 character in a tag or value?

But still, it should not crash.

Any ideas anyone?

Regards,
Rutger.



More information about the mkgmap-dev mailing list