logo separator

[mkgmap-dev] DEM size in Garmin Basemap > 16MB

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Dec 22 17:44:10 GMT 2017

Hi Andreas,

strange. I've only tested with --gmapi so far, so I am 100% sure that this works. I did not yet test the nsi  installer version or the
Maybe you used the wrong program?


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von andreas.schmidt.hetschbach at t-online.de <andreas.schmidt.hetschbach at t-online.de>
Gesendet: Freitag, 22. Dezember 2017 18:39:46
An: mkgmap-dev; Development list for mkgmap
Betreff: Re: [mkgmap-dev] DEM size in Garmin Basemap > 16MB

Hi Gerd,

if finalized, would „mkgmap  –gmapi“ create the DEM-files in the „product1-folder. As far as I Tested it yet, it doesn´t“?


Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10

Von: Gerd Petermann<mailto:GPetermann_muenchen at hotmail.com>
Gesendet: Freitag, 22. Dezember 2017 17:44
An: Development list for mkgmap<mailto:mkgmap-dev at lists.mkgmap.org.uk>
Betreff: [mkgmap-dev] DEM size in Garmin Basemap > 16MB


I've just noticed that the DEM file in my Oregon basemap (gmapbmap.img) is ~ 31MB.
Up to now I thought that 16MB is either the limit for a single file in an img or for the whole img file.
Both seems to be wrong.

@Steve: The value is coded in BufferedImgFileWriter:
// The maximum allowed file size.
private long maxAllowedSize = 0xffffff;

Is that an mkgmap limit or do you think that Garmin uses a special trick for the base map?

mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk

More information about the mkgmap-dev mailing list