logo separator

[mkgmap-dev] Compilation fails building France map

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat May 23 10:20:39 BST 2020

Hi Steph,

if my assumption is correct, check what you put into the low resolution levels. If you still have an older overview map you might open it in GpsMapEditor and look at the "Map Properties", esp. the Statistics. This should tell you which objects require lots of space.

The error message is written because your map contains too many "sub divisions". I did not see this problem before, so maybe something else is wrong.
For example, a corrupt ovm_*.img file might exist from a previous execution of mkgmap.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steph <st3ph.martin at laposte.net>
Gesendet: Samstag, 23. Mai 2020 11:09
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Compilation fails building France map

Thank you !

Got the same levels and overview-levels as default style.
levels = 0:24, 1:22, 2:20, 3:18
overview-levels = 4:17, 5:16, 6:15, 7:14, 8:12

How can I make overview lighter ?
Supressing a level ?
Decrease max-nodes with splitter ?

Steph

Le 23/05/2020 à 11:50, Gerd Petermann a écrit :
> Hi Steph,
>
> it seems your overview map contains too many details. Compare the options levels and overview-levels with the default style.
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steph <st3ph.martin at laposte.net>
> Gesendet: Samstag, 23. Mai 2020 10:07
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] Compilation fails building France map
>
> Hi,
>
> Since a couple of days the compilation for my France map fails.
>
> Perhaps the output log could help you to indicate me the direction I
> should investigate…
>
> - mkgmap-r4486
> - java -version:
> openjdk version "13.0.2" 2020-01-14
> OpenJDK Runtime Environment (build 13.0.2+8)
> OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode)
>
> - France.log:
> Time started: Sat May 23 10:15:31 EAT 2020
> The following styles are available:
> default           1.27: "Default style" modifié.
>         Style détaillé pour un usage pédestre mais
>         fonctionnel aussi en usage cycliste ou motorisé.
> Found one style in /home/steph/osm/styles/default/
> finished check-styles
> Number of MapFailedExceptions: 0
> Exception in thread "main" java.lang.AssertionError: 164041
>         at
> uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put2u(BufferedImgFileWriter.java:164)
>         at uk.me.parabola.imgfmt.app.trergn.Zoom.write(Zoom.java:81)
>         at
> uk.me.parabola.imgfmt.app.trergn.TREFile.writeMapLevels(TREFile.java:215)
>         at
> uk.me.parabola.imgfmt.app.trergn.TREFile.writeBody(TREFile.java:123)
>         at uk.me.parabola.imgfmt.app.trergn.TREFile.write(TREFile.java:342)
>         at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:305)
>         at
> uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:191)
>         at
> uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:104)
>         at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:674)
>         at
> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:125)
>          at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143)
>          at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)
>
>
> Two little overlays (for ski resorts and particular osm tags I want to
> verify) are correctly produce.
> The main map compilation fails!
>
> Regards.
>
> Steph
> _______________________________________________
> 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