Having to use this tool, there is no way to produce a gmapsupp that works on marine devices directly with mkgmap. You will always have to create a MapSource version, patch the imgs and then create a gmapsupp. This makes it impossible to produce marine maps automatically under linux.
Is there a chance to modify mkgmap in a way the maps do not have to be patched anymore?
>> http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2010q1/006427.html >>
> Summary of that is to change a number in the header:
> - writer.putInt(0x110301);
> + writer.putInt(0x170401);
>> Is there a chance to modify mkgmap in a way the maps do not have to be
>> patched anymore?
> When that patch, is there any affect on normal operation?
> Since we don't know what those numbers are for, we may as well
> change them, unless someone knows what they are for and knows
> a reason why not.
Yes, maps will not be shown on Mapsource anymore. Also there will be
problems regarding altitude profiles and different options regarding
visibility on the GPSrs.
Marine mode shouldn't be the default...
However the change highlighted above has nothing to do with Marine mode,
it affects the rerouting sensivity, and is useful if the user is
expected never to be faster than ~15km/h (from switching on the GPS), in
> Betreff: Re: [mkgmap-dev] Garmin Marine Devices
> On 05/03/12 15:39, Felix Hartmann wrote:
> > Besides Marine mode header can be changed via gmt too, and that is
> > also available for Linux (gmt is the execution part of gmaptool).
> Is that the -r option? That does not do anything to the .img files, but
> byte at 0x21 to 1 in the .tdb file.
> The resulting tdb appears to work in mapsource.
On the attached screenshot please find the only two bytes to change for
marine usage. It has no effect to Mapsource.