logo separator

[mkgmap-dev] [Patch] set map-version in img header

From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Jan 17 16:29:05 GMT 2017

Hi Andrzej,

thanks for the feedback. I'll have a 2nd look at --product-version. The default value is documented as 1
but in the java code the value 100 is used. So, I can probably use
major = productVersion / 100;
minor = productVersion % 100;

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl>
Gesendet: Dienstag, 17. Januar 2017 14:44:25
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

Hi Gerd,

your patch seems to working correctly, see attached screenshot form
chartplotter.

I have noticed, that product-version uses other format,
product-version=120 is interpreted as 1.20 by Map Product Manager.
Currently product version goes to TDB and info.xml, I think it can be
used for gmapsupp.img header too, unless anyone knows distinction
between these 2 values.

Putting version into tiles and preview probably isn't useful, but does
no harm anyway.

--
Best regards,
Andrzej


More information about the mkgmap-dev mailing list