logo separator

[mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Mar 2 08:52:27 GMT 2023

Hi Vadim,

I see code in mkgmap to handle the statement with Elevation=m or Elevation=M, but it is only used for the line types 0x20 .. 0x22.
Do you have a good reason to use line type 0x25 instead?


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Vadim Karpov <bombur at mail.ru>
Gesendet: Mittwoch, 1. März 2023 13:00
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

Good afternoon !

I am using the latest version of MkGMap and trying to create a depth chart with isolines (types 0x24, 0x25).

The problem is that the compiler interprets the depth specified in Meters as in Feet.
The result is independent of the presence or value of the "Elevation=M" parameter.

And I didn't find an alternative command line option. :(

So how can I tell the compiler to treat all numerical depth and height values in an .MP file as meters and not feet?

Thanks for the advice.

PS: cGpsMapper works fine with "Elevation=M" of course.
PPS: Example of polylyne defs:

Data0=(47.139263517000003,-122.560520313), ...

Data0=(47.127846400000003,-122.562501059), ...

Vadim Karpov

More information about the mkgmap-dev mailing list