
Hi Gerd, Users of my Openfietsmap Germany reported a bug in my maps, one tile was missing. Normally something went wrong with splitting (tiles too big) but this one was compiled fine as img. However, it didn't render, only the overview map. I have compiled it with r-4025. When I compile it with r-4066 there is no issue, so it is probably solved but I just mention it. Are you aware of this bug? The o5m file is here: http://mijndev.openstreetmap.nl/~ligfietser/mkgmap/ Screenshot here: https://www.facebook.com/photo.php?fbid=975247545973988&set=p.97524754597398...

Hi Minko, Hard to say without detailed information about the used dem options. Errors in the dem encoder potentially cause buffer overflows/underruns in Garmin software. Maybe you can post the options used with r4025? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com> Gesendet: Mittwoch, 24. Januar 2018 09:12 An: mkgmap-dev Betreff: [mkgmap-dev] bug in r-4025 Hi Gerd, Users of my Openfietsmap Germany reported a bug in my maps, one tile was missing. Normally something went wrong with splitting (tiles too big) but this one was compiled fine as img. However, it didn't render, only the overview map. I have compiled it with r-4025. When I compile it with r-4066 there is no issue, so it is probably solved but I just mention it. Are you aware of this bug? The o5m file is here: http://mijndev.openstreetmap.nl/~ligfietser/mkgmap/ Screenshot here: https://www.facebook.com/photo.php?fbid=975247545973988&set=p.97524754597398... _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd I used these options: x-dem: G:\mkgmap\DEM x-dem-dists: 3312,6628,9942,13248,44176 x-overview-dem-dist=88368 The strange thing is that the img is compiled without errors but not rendered. This issue/bug is not happening in r-4066 so I guess it is "solved" but you never know. ________________________________ Hi Minko, Hard to say without detailed information about the used dem options. Errors in the dem encoder potentially cause buffer overflows/underruns in Garmin software. Maybe you can post the options used with r4025? Gerd

BTW, If i change it into x-dem-dists: 9942,9942,9942,13248,44176 the rendering is just fine. ________________________________ Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens lig fietser <ligfietser@hotmail.com> Verzonden: woensdag 24 januari 2018 01:14:28 Aan: mkgmap-dev Onderwerp: Re: [mkgmap-dev] bug in r-4025 Hi Gerd I used these options: x-dem: G:\mkgmap\DEM x-dem-dists: 3312,6628,9942,13248,44176 x-overview-dem-dist=88368 The strange thing is that the img is compiled without errors but not rendered. This issue/bug is not happening in r-4066 so I guess it is "solved" but you never know. ________________________________ Hi Minko, Hard to say without detailed information about the used dem options. Errors in the dem encoder potentially cause buffer overflows/underruns in Garmin software. Maybe you can post the options used with r4025? Gerd

Hi Minko, cannot reproduce the error with these options: java -jar mkgmap-r4025.jar --x-dem=f:\srtm3 --x-dem-dists=3312,6628,9942,13248,44176 --x-overview-dem-dist=88368 --gmapi 49000245.o5m Maybe I have different hgt files, maybe it depends on other options. If you can reproduce it with this set of options please post a link to your hgt files: N52E013.hgt N52E014.hgt N52E015.hgt N53E013.hgt N53E014.hgt N53E015.hgt Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com> Gesendet: Mittwoch, 24. Januar 2018 10:14 An: mkgmap-dev Betreff: Re: [mkgmap-dev] bug in r-4025 Hi Gerd I used these options: x-dem: G:\mkgmap\DEM x-dem-dists: 3312,6628,9942,13248,44176 x-overview-dem-dist=88368 The strange thing is that the img is compiled without errors but not rendered. This issue/bug is not happening in r-4066 so I guess it is "solved" but you never know. ________________________________ Hi Minko, Hard to say without detailed information about the used dem options. Errors in the dem encoder potentially cause buffer overflows/underruns in Garmin software. Maybe you can post the options used with r4025? Gerd

Hi Gerd, I have found out that the levels in the option file matters: These settings are fine if I skip level 23: levels = 0:24, 1:22, 2:20, 3:18 overview-levels = 4:17, 5:15, 6:14 These go wrong, the gmap file is not compiled: levels = 0:24, 1:23, 2:22, 3:20, 4:18 overview-levels = 5:17, 6:15, 7:14 Now I have tried 3312 instead of 6628 for the second highest level 23: x-dem-dists: 3312,3312,9942,13248,44176 Then I got this error: SEVERE (BlockManager): splitter\49000245.o5m: overflowed directory with max block 65534, current=65535 SEVERE (MapFailedException): splitter\49000245.o5m: (thrown in BlockManager.allocate()) Too many blocks. Use a larger block size with an option such as --block-size=1024 or --block-size=2048 Exception in thread "main" java.lang.NegativeArraySizeException at uk.me.parabola.mkgmap.reader.hgt.HGTConverter. If I use x-dem-dists: 3312,9942,9942,13248,44176 No error but not rendered and no gmap. If I use x-dem-dists: 9942,9942,9942,13248,44176 Everything is ok. So maybe I had a wrong values for level 23 which seems fixed by r-4066?

Hi Minko, the blocksize problem was the reason for the change in http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4054 and the new branch auto-block I think this problem is solved. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com> Gesendet: Mittwoch, 24. Januar 2018 11:30:05 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] bug in r-4025 Hi Gerd, I have found out that the levels in the option file matters: These settings are fine if I skip level 23: levels = 0:24, 1:22, 2:20, 3:18 overview-levels = 4:17, 5:15, 6:14 These go wrong, the gmap file is not compiled: levels = 0:24, 1:23, 2:22, 3:20, 4:18 overview-levels = 5:17, 6:15, 7:14 Now I have tried 3312 instead of 6628 for the second highest level 23: x-dem-dists: 3312,3312,9942,13248,44176 Then I got this error: SEVERE (BlockManager): splitter\49000245.o5m: overflowed directory with max block 65534, current=65535 SEVERE (MapFailedException): splitter\49000245.o5m: (thrown in BlockManager.allocate()) Too many blocks. Use a larger block size with an option such as --block-size=1024 or --block-size=2048 Exception in thread "main" java.lang.NegativeArraySizeException at uk.me.parabola.mkgmap.reader.hgt.HGTConverter. If I use x-dem-dists: 3312,9942,9942,13248,44176 No error but not rendered and no gmap. If I use x-dem-dists: 9942,9942,9942,13248,44176 Everything is ok. So maybe I had a wrong values for level 23 which seems fixed by r-4066?

Thanks Gerd for sorting this out! ________________________________ Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Gerd Petermann <gpetermann_muenchen@hotmail.com> Verzonden: woensdag 24 januari 2018 03:10:15 Aan: Development list for mkgmap Onderwerp: Re: [mkgmap-dev] bug in r-4025 Hi Minko, the blocksize problem was the reason for the change in http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4054 and the new branch auto-block I think this problem is solved. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com> Gesendet: Mittwoch, 24. Januar 2018 11:30:05 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] bug in r-4025 Hi Gerd, I have found out that the levels in the option file matters: These settings are fine if I skip level 23: levels = 0:24, 1:22, 2:20, 3:18 overview-levels = 4:17, 5:15, 6:14 These go wrong, the gmap file is not compiled: levels = 0:24, 1:23, 2:22, 3:20, 4:18 overview-levels = 5:17, 6:15, 7:14 Now I have tried 3312 instead of 6628 for the second highest level 23: x-dem-dists: 3312,3312,9942,13248,44176 Then I got this error: SEVERE (BlockManager): splitter\49000245.o5m: overflowed directory with max block 65534, current=65535 SEVERE (MapFailedException): splitter\49000245.o5m: (thrown in BlockManager.allocate()) Too many blocks. Use a larger block size with an option such as --block-size=1024 or --block-size=2048 Exception in thread "main" java.lang.NegativeArraySizeException at uk.me.parabola.mkgmap.reader.hgt.HGTConverter. If I use x-dem-dists: 3312,9942,9942,13248,44176 No error but not rendered and no gmap. If I use x-dem-dists: 9942,9942,9942,13248,44176 Everything is ok. So maybe I had a wrong values for level 23 which seems fixed by r-4066? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
lig fietser