logo separator

[mkgmap-dev] Problems with multiple maps in one gmapsupp.img

From Simon Eugster livin.shadow at gmail.com on Sat Dec 12 09:17:22 GMT 2009

Hi Charlie,

Thanks for your answer. Yes, all maps have different IDs -- that means, the 
filenames differ.
The script is here: http://granjow.net/projects.html#garmin
What I do, in a nutshell:
* Get a list of the maps the user wants to convert.
   Give each map a number (just from 1 to n) in the order
   they are given on command line.
* Check whether the map's .img file did not change
** Changed: Re-build the map (splitter, mkgmap), and use the ID
    str(mapid).zfill(4)+'0000'
    which means e.g. 00040000 for map ID 4, 00550000 for map ID 55,
    and so on. The images and .osm.gz files generated will then be
    00550000, 00550001, 00550002, 00550003, and so on.
    0055 is the [prefix].
** Not changed: Rename the .img files from [anything]0000
    to [prefix]0000 (and [prefix]0001, and so on) so that we'll have
    different filenames for the gmapsupp.img
* After all that converting stuff put all generated or renamed images
   into one gmapsupp.img file.

I just take a look at the binary representation of the .img files. And what 
did I see?
00000600   01 30 30 30 31 30 30 30 30 52 47 4E 45 E8 2B 00   .00010000RGNE.+.
00003E00   01 30 30 30 31 30 30 30 30 4C 42 4C 00 00 00 00   .00010000LBL....
and so on.
This looks like if I also had to change the file name coded into the binary 
file. Possible?

Simon

Charlie Ferrero wrote:
> Have you checked that you're giving the Swiss tiles different mapIDs 
> from the US tiles?
> 
> It would help us if you shared with us your compile process (e.g. mkgmap 
> options)
> 
> Charllie
> 
> Simon Eugster wrote:
>> Good Evening,
>>
>> I've just been processing the whole USA and put it all in one gmapsupp.img. 
>> Zooming in at two, three places shew that at least the places I visited 
>> were working.
>>
>> Then I've added the switzerland file. And exactly at the place where I'm 
>> living I've got a gap. There _are_ some parts of switzerland which are 
>> available on the map, but there is a gap.
>>
>> What might have caused that?
>>
>> When uploading just the gmapsupp.img generated from the switzerland file 
>> all is fine.
>>
>> Is it because I'm using too many maps? About 50 in total. Or because one 
>> map is buggy?
>>
>> Total file size of the gmapsupp is at 1.8 GB.
>>
>> Any Ideas?
>>
> 
> 
> Charlie
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 



More information about the mkgmap-dev mailing list