logo separator

[mkgmap-dev] Description is too long (max 50)

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri May 4 16:38:44 BST 2018

Hi Felix,

might be a bug in the OverviewBuilder. If I got that right it uses option --area-name to fill the description.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Freitag, 4. Mai 2018 15:46:37
An: Development list for mkgmap
Betreff: [mkgmap-dev] Description is too long (max 50)

Exception in thread "main" java.lang.IllegalArgumentException: Description is too long (max 50)
        at uk.me.parabola.imgfmt.sys.ImgHeader.setDescription(ImgHeader.java:336)
        at uk.me.parabola.imgfmt.sys.ImgHeader.createHeader(ImgHeader.java:168)
        at uk.me.parabola.imgfmt.sys.ImgFS.createInitFS(ImgFS.java:372)
        at uk.me.parabola.imgfmt.sys.ImgFS.createFs(ImgFS.java:123)
        at uk.me.parabola.imgfmt.sys.ImgFS.createFs(ImgFS.java:102)
        at uk.me.parabola.imgfmt.app.map.Map.createMap(Map.java:99)
        at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:182)
        at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:104)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:678)
        at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
        at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)


I'm pretty sure that the --description value is well below 50 characters. However the area-name was 54 characters. Is the area-name also not allowed to be bigger?
Also maybe the family name was 51 or 52 characters long.


Or is this bug somewhere else?

--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich


More information about the mkgmap-dev mailing list