logo separator

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

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Dec 22 16:44:47 GMT 2017


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?


More information about the mkgmap-dev mailing list