Hi Carlos

The first 0x1b0000 bytes (1.68MiB) of your gmapsupp.img are zero! It should
start with something like:

00000000  00 00 00 00 00 00 00 00  01 00 01 7d 00 00 00 00  |...........}....|
00000010  44 53 4b 49 4d 47 00 02  04 00 10 00 00 01 00 00  |DSKIMG..........|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 e9 07 01 1c 0f 27 20  |..............' |
00000040  02 47 41 52 4d 49 4e 00  00 52 57 42 20 48 61 6e  |.GARMIN..RWB Han|

You should check the expansion of your command, esp. all the $Vars and * to see
that the parameters are exactly as you expect and stray files are not getting
into the build.

Are you generating a mkgmap.log.#n? If not suggest you investigate this
(-Dlog.config=mkgmap_log.props option)

Regards
Ticker

On Fri, 2026-02-20 at 10:01 +0100, Carlos Dávila via mkgmap-dev wrote:
> Hi all
> 
> I'm having problems with a gmapsupp.img file created with mkgmap. It's 
> not recognized by GPS and GMapTool reports header is wrong. I have 
> recreated it from scratch and it continues failing. I have not changed 
> my tool chain for a long time, so I don't know what may be causing the 
> problem.
> 
> Map is created with the following command:
> 
> java -Xmx27G -ea -jar mkgmap.jar --index --gmapsupp 
> --family-name="OpenStreetMap $MAPA" --family-id=${GRUPO}1${FID} 
> --country-name=$PAIS --country-abbr=${ABR} --area-name="$MAPA" 
> --product-version=$VERSION --series-name="OSM-$MAPA" 
> --road-name-config=roadNameConfig_suffixes.txt --route 
> tmp/${GRUPO}1${FID}*.img tmp/${ABR}${GRUPO}1${FID}.txt 
> --description="OpenStreetMap $MAPA" --no-tdbfile
> 
> Another gmapsupp created from the same *.o5m input files but with a 
> different style is correct, but many other maps created with the same 
> style are also correct, so I don't think style may be the origin of the 
> problem.
> 
> Problem file can be downloaded from 
> https://alternativaslibres.org/tmp/gmapsupp_Canada.zip
> 
> 
> _______________________________________________
> mkgmap-dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo/%(_internal_name)s
_______________________________________________
mkgmap-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s

Reply via email to