logo separator

[mkgmap-dev] Assert error

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Jul 12 13:02:34 BST 2018

Hi Mike,

this seems to be a limit in the img format. If I got that right an entry in NET refers to more than 0x80 entries in RGN.
This seems to be too much and should not happen. The program should probably split the road somewhere
so that more entries in NET are created or it is split too often. The question is where to detect the situation.
Maybe you can post a patch or describe how to reproduce the problem?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk>
Gesendet: Donnerstag, 12. Juli 2018 12:36
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] Assert error

Hi, I have just started getting an assert of "too many polylines at level 1"
with my latest UK build. Any suggestions what I need to change?

  java.lang.AssertionError: too many polylines at level 1
  at uk.me.parabola.imgfmt.app.net.RoadDef.writeLevelCount(RoadDef.java:333)
  at uk.me.parabola.imgfmt.app.net.RoadDef.writeNet1(RoadDef.java:228)
  at uk.me.parabola.imgfmt.app.net.NETFile.write(NETFile.java:67)
  at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:314)
  at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
  at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
  at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:293)
  at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:289)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)

Thanks,
Mike

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list