[mkgmap-dev] work in progress: new option dem-shrink-factors
From Gerd Petermann GPetermann_muenchen at hotmail.com on Mon Feb 19 14:24:47 GMT 2018
Hi all, Frank Stinner found more about the meaning of the byte in DEM header at offset 0x12 of the zoom level header. This value gives a shrink factor that is used to minimize the deltas. All height delta values are divided by this factor, so that e.g. with a factor of 5 the values 12,19,20,10 become 2,4,4,2 before they are encoded. This reduces the number of bytes but also reduces precision. Garmin uses it in many maps, of with increasing value for each map level. I've started to implement this in DemDisplay but it seems that there is something else to change. Gerd
- Previous message: [mkgmap-dev] parameter for --transparent option
- Next message: [mkgmap-dev] Commit r4125: avoid division by zero
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list