[mkgmap-dev] Compilation fails building France map
From Stéphane MARTIN st3ph.martin at laposte.net on Sun May 24 11:16:34 BST 2020
Hi! I made a few tests according to Gerd and Joris instructions. My style is not so heavy for overview map and all modifications I tried to make it lighter failed. So I replaced my style with default style and mapnik typ within my scripts… that failed ! The fact is I merge a national addresses db (BANO -> http://bano.openstreetmap.fr/data) with the Geofabrik pbf before running splitter. If I don't make this merging, compilation run fine. So it appears that it's not an “esthetic” map particularity but address data which produce issues, if I got it right… And of course I don't know why 😂 Thanks again. Regards! Steph Le 23/05/2020 à 19:18, Joris Bo a écrit : > Hi Steph > > I had these kinds of problems in my early days when trying to build a full-europe map. > I'm not the expert, but what I find out was that it I looks like the overviewmap is one big *.img file > And so combines everything you put in your lower overview levels 17,16,15,14 & 12 together > Above the overview levels (18-24) multiple tiles are created giving you an 'endless' amount of space but for the overview levels its whatever fits in this one img file. There is a limit (don't know how much) > (If I remember correctly I even had to wait 6 hours before at the very end the overview map was written and failed the process) > > For me, it did not help to use less levels but just limiting the amount of stuf drawn starting from 12 to 17 > I adjusted 98% of my polygons and lines to be sure they start above 17 and/or use the --polygon-size-limits option to filter out smaller pieces. > > For now I can build a full Europe map including France and it still fits within the overview limits > For the overview map levels I only use > - motorway, trunk and primary (but not the motorway_link, trunk_link and primarylink) > - for every level 12-14-15-16-17 I even use a different line code and line-width only because it just looks nice when zooming in > - no tunnels, bridges, railways or oneway > - Only waterways if the water-way relation is tagged longer dan 50km > - Only residential landuse to highlight city area's > - Only natural = * & area_size() > 2000000 (which is approximately 3km x 3km) > > Since then, problems gone > Kind regards > Joris > > > > > -----Oorspronkelijk bericht----- > Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> Namens Steph > Verzonden: zaterdag 23 mei 2020 11:09 > Aan: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk> > Onderwerp: 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
- Previous message: [mkgmap-dev] Compilation fails building France map
- Next message: [mkgmap-dev] Compilation fails building France map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list