
I've just updated to the latest mkgmap from trunk and am now having problems processing tiles that I have previously successfully processed. The error I am receiving is java.lang.IllegalStateException: Polygon offset too large at uk.me.parabola.imgfmt.app.trergn.RGNFile.setPolygonPtr(RGNFile.java:179) at uk.me.parabola.imgfmt.app.trergn.Subdivision.startShapes(Subdivision.java:450) at uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:868) at uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:633) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:567) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:174) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:169) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:167) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) This is when run against a tile containing only contours. If I regenerate the contours using maxnodes=50000 (rather than the default) then mkgmap finishes but I would prefer to keep them larger if possible and this is obviously changed behaviour if I have previously been able to compile against these tiles. I would say this starting happening within the last 10 commits but can't say exactly when Cheers Paul

Hi Paul,
I've just updated to the latest mkgmap from trunk and am now having problems processing tiles that I have previously successfully processed. The error I am receiving is
java.lang.IllegalStateException: Polygon offset too large
Please try attached patch. Cheers, Mark

Mark Burton wrote:
Hi Paul,
I've just updated to the latest mkgmap from trunk and am now having problems processing tiles that I have previously successfully processed. The error I am receiving is
java.lang.IllegalStateException: Polygon offset too large
Please try attached patch.
Cheers,
Mark
Works for me. Cheers Paul
participants (2)
-
Mark Burton
-
Paul