Please test new dem options in r4013 in the dem-tfb branch

Hi all, with r4013 I've added support to write DEM file into the overview map if option --x-dem is given. For now, it uses a hard coded value 88368 for the points distance, please suggest an option name if needed. I think DEM support works now quite well in mkgmap. So, thanks again to Frank Stinner for his work on the DEM format and his program BuildDEMFile which made this possible. Next step is to add docu for the options and maybe cleanup the code. So, if you miss an option or have suggestions for better defaults, please let me know. Gerd

Hi Gerd, the generation of the chinese overview map ends with: uk.me.parabola.imgfmt.MapFailedException: 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. at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:308) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:186) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:98) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:617) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136) at uk.me.parabola.mkgmap.main.Main.main(Main.java:107) Henning

Hi Henning, okay, I'll add an option overview-dem-dist. I've just noticed that I accidentially removed the warning message about missing hgt files. I am now also adding code to report each file only once. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Freitag, 22. Dezember 2017 12:57:17 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Please test new dem options in r4013 in the dem-tfb branch Hi Gerd, the generation of the chinese overview map ends with: uk.me.parabola.imgfmt.MapFailedException: 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. at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:308) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:186) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:98) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:617) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136) at uk.me.parabola.mkgmap.main.Main.main(Main.java:107) Henning _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi, Maybe it's also useful to switch overview DEM off completely by setting overview-dem-dist to 0. BTW. anyone tried the Andes mountains. I would expect similar issues in that area. Maybe in general it can be useful to calculate a density map of hgt-data. It can be a good approach for overview map resolution and also for splitter. And it's static, as long as the user isn't changing the DEM-files. Henning On 2017-12-22 20:41, Gerd Petermann wrote:
Hi Henning,
okay, I'll add an option overview-dem-dist. I've just noticed that I accidentially removed the warning message about missing hgt files. I am now also adding code to report each file only once.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Freitag, 22. Dezember 2017 12:57:17 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Please test new dem options in r4013 in the dem-tfb branch
Hi Gerd, the generation of the chinese overview map ends with:
uk.me.parabola.imgfmt.MapFailedException: 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. at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:308) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:186) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:98) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:617) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136) at uk.me.parabola.mkgmap.main.Main.main(Main.java:107)
Henning _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Gerd Petermann
-
Gerd Petermann
-
Henning Scholland