mkgmap option product-version and gmapsupp format

Steve, as already announced: with all the intensive testing regarding unicode, gmap and others I found following in my opinion strange behaviour in relation to gmapsupp format: * my mkgmap call for gmapsupp creation contains the option '--product-version="1612"' * when checking the created gmapsupp.img with GMapTool, the heades does contain only 'v 0.00' * when checking the gmapsupp.img via BaseCamp while the GPS is connected the version column also shows 0.00 * the detailed output of GMapTool does not contain the string "1612" at all This raises my concern about product-version not properly handled in the gmapsupp conversion. Yes, I know, a gmapsupp.img may contain more than only one product/family/map... But as mkgmap creates a gmapsupp.img for one product/family only per run it might be worth writing the version info properly into the header ? .... other maps (official ones) seem to propagate the release information into that header field. I'm not completely sure if above assumptions are correct or if I missed something. Sorry for bringing up another issue.... ;-) And thanks for looking at it. Cheers Patrik

Hi Patrik
# my mkgmap call for gmapsupp creation contains the option '--product-version="1612"' # when checking the created gmapsupp.img with GMapTool, the heades does contain only 'v 0.00'
I am afraid I don't know where a product version is stored in the gmapsupp. If anyone knows I will add it.. ..Steve

Steve, following link regarding Header Information in gmapsupp.img seems to be still valid: https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/IMG_File_Format At least using a hex editor to change Map's major version (Byte 0x08) and minor version (Byte 0x09) did show me the expected result afterwards. But it tells me also that setting product-version to 1612 will not work at all.... I would have to set it to 16.12 with handling of that decimal in the background (splitting it up into major and minor) as a prerequisite. No idea what would be best to handle it, but it's probably worth a try ? Cheers Patrik On 18.12.2016 18:39, Steve Ratcliffe wrote:
Hi Patrik
# my mkgmap call for gmapsupp creation contains the option '--product-version="1612"' # when checking the created gmapsupp.img with GMapTool, the heades does contain only 'v 0.00'
I am afraid I don't know where a product version is stored in the gmapsupp.
If anyone knows I will add it..
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Patrik Brunner
-
Steve Ratcliffe