
Hi Arndt, If you create the map with the --order-by-decreasing-areas I am not surprised. See http://gis.19327.n8.nabble.com/Tiles-pruned-in-DEM-map-tp5980028p5983783.htm... Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de> Gesendet: Montag, 25. Januar 2021 13:36 An: Development list for mkgmap Betreff: [mkgmap-dev] r-4599 crashes Hello, r-4599 crashes after building all tiles. With the same input, r-4594 works well. Greets Arndt SCHWERWIEGEND (StyledConverter): .\Baustelle\Speiche_SuedOstEuropa_Splitter\88011011.osm.pbf: Attention: Tile contains both drive-on-left (32411) and drive-on-right roads (8084) SCHWERWIEGEND (MapFailedException): (thrown in BufferedImgFileWriter.ensureSize()) There is not enough room in a single garmin map for all the input data. The .osm file should be split into smaller pieces first. SCHWERWIEGEND (MapBuilder): exception while creating DEM file There is not enough room in a single garmin map for all the input data. The .osm file should be split into smaller pieces first. SCHWERWIEGEND (MapFailedException): (thrown in MapBuilder.buildDem()) DEM uk.me.parabola.imgfmt.MapFailedException: DEM at uk.me.parabola.mkgmap.build.MapBuilder.buildDem(MapBuilder.java:379) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:346) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:192) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:105) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:675) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:125) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:144) at uk.me.parabola.mkgmap.main.Main.main(Main.java:115)

Hi Arndt One of the changes in this set is which options get passed through to the overview builder and maybe this could have an effect. What options are you using? Does the overview map with the working version have a DEM section? It is possible it didn't and the options change means it now does. Is it possible that you have manual/styled 0x4a polygons in your data. The effect of having these might change things. Ticker On Mon, 2021-01-25 at 17:51 +0000, Gerd Petermann wrote:
Hi Arndt,
If you create the map with the --order-by-decreasing-areas I am not surprised. See http://gis.19327.n8.nabble.com/Tiles-pruned-in-DEM-map -tp5980028p5983783.html
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de> Gesendet: Montag, 25. Januar 2021 13:36 An: Development list for mkgmap Betreff: [mkgmap-dev] r-4599 crashes
Hello,
r-4599 crashes after building all tiles. With the same input, r-4594 works well.
Greets
Arndt
SCHWERWIEGEND (StyledConverter): .\Baustelle\Speiche_SuedOstEuropa_Splitter\88011011.osm.pbf: Attention: Tile contains both drive-on-left (32411) and drive-on -right roads (8084) SCHWERWIEGEND (MapFailedException): (thrown in BufferedImgFileWriter.ensureSize()) There is not enough room in a single garmin map for all the input data. The .osm file should be split into smaller pieces first. SCHWERWIEGEND (MapBuilder): exception while creating DEM file There is not enough room in a single garmin map for all the input data. The .osm file should be split into smaller pieces first. SCHWERWIEGEND (MapFailedException): (thrown in MapBuilder.buildDem()) DEM uk.me.parabola.imgfmt.MapFailedException: DEM at uk.me.parabola.mkgmap.build.MapBuilder.buildDem(MapBuilder.java:379) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:346) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(Over viewBuilder.java:192) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuil der.java:105) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:675) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.ja va:125) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:144) at uk.me.parabola.mkgmap.main.Main.main(Main.java:115) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd & Arndt I'm reasonably sure the change in option handling is the problem and attach a patch to fix it. Ticker On Mon, 2021-01-25 at 18:05 +0000, Ticker Berkin wrote:
Hi Arndt
One of the changes in this set is which options get passed through to the overview builder and maybe this could have an effect. What options are you using?
Does the overview map with the working version have a DEM section? It is possible it didn't and the options change means it now does.
Is it possible that you have manual/styled 0x4a polygons in your data. The effect of having these might change things.
Ticker
participants (3)
-
Arndt Röhrig
-
Gerd Petermann
-
Ticker Berkin