logo separator

[mkgmap-dev] question for tdb-file record 0x52; option in mkgmap ?

From Steve Ratcliffe steve at parabola.me.uk on Sat Nov 28 21:40:09 GMT 2015

Hi Thomas

> Edit nr. 2: all sourcefiles i have uploadet to :
> http://img2ms.de/Downloads/Kanaren+Ceuta.rar  Filesize ~ 14 MB. Maybee
> you can reproduce the error in your IDE ?:.

The tdb-file contains the copyright messages from each of the the map
tiles, eliminating duplicates. So if the files are created with
different versions of mkgmap, or even created by a different program
altogether these messages will all be collected together in the TDB
file.

In this case 30007501 and 30007502 where created by mkgmap-r3650 and
40001173 was created by mkgmap-r3336.  At least that is what the
copyright message within those files say.

The TDB file contains several copyright blocks, including both these
versions numbers.

Anyway that is a side issue...

I think you are probably looking for --area-name which defaults to
'Overview Map'.  This is the one that is displayed in MapSource anyway.

The 0x52 record defaults to the string 'Test preview map' and has no
known use so we havn't added an option to change it.

Best wishes

..Steve

> thomas
>
> Am 28.11.2015 um 19:41 schrieb Thomas Morgenstern:
>> Edit : the string mkgmap -r3336 is in the Copyrightrecord. Maybee the
>> copyright is not updated? Creation-time of tbd-file is: 28.11.2015,
>> 19:17 Uhr GMT+1 hour
>>
>> thomas
>> Am 28.11.2015 um 19:30 schrieb Thomas Morgenstern:
>>> So i have newly downloaded mkgmap-r3650 and run it again. The
>>> resulting tdb-file is available at :
>>> http://img2ms.de/Downloads/TopoCeuta.tdb. Look  self in it with
>>> hexeditor. At dezimalposition 950 you will find  'mkgmap-r3336'.
>>> Hex-position is 0x3ac.
>>> maybee is the problem the second run ?
>>> regards thomas
>>>
>>> Am 28.11.2015 um 18:36 schrieb Gerd Petermann:
>>>>
>>>> Hi Thomas,
>>>>
>>>>
>>>> I see no way that r3650 produces the string mkgmap-r3336.
>>>>
>>>> So, I guess that you are looking at an old map, which would
>>>>
>>>> also explain that the different options have no effect.
>>>>
>>>>
>>>> ciao,
>>>>
>>>> Gerd
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>> *Von:* mkgmap-dev-bounces at lists.mkgmap.org.uk
>>>> <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thomas
>>>> Morgenstern <webmaster at img2ms.de>
>>>> *Gesendet:* Samstag, 28. November 2015 18:08
>>>> *An:* Development list for mkgmap
>>>> *Betreff:* Re: [mkgmap-dev] question for tdb-file record 0x52;
>>>> option in mkgmap ?
>>>> I use mkgmap r-3650 from downloadsite:
>>>> http://www.mkgmap.org.uk/download/mkgmap.html
>>>> -->http://www.mkgmap.org.uk/download/mkgmap-r3650.zip.
>>>> <http://www.mkgmap.org.uk/download/mkgmap.html>
>>>> 	
>>>> mkgmap download page
>>>> Branch builds. These jar files are latest builds of recent
>>>> development branches. They are useful if you want to quickly test a
>>>> branch without having obtain and build it.
>>>> Weitere Informationen... <http://www.mkgmap.org.uk/download/mkgmap.html>
>>>>
>>>>
>>>>
>>>>
>>>> -family-name=Kanaren also make 'Overview Map'.
>>>> My way is:
>>>> 1. in first run I generate all <123345678>.img from *.osm-pbf . for
>>>> Europa komplett
>>>> 2. a secand run : /java -Xmx5000m jar mkgmap.jar -family-id=1918
>>>> -product-id=1 -family-name=TopoKanaren -series-name=Topo Kanaren
>>>> -overview-mapname=TopoCeuta -code-page=1252 -mapname=Kanaren
>>>> -index    ****<the 12345678>.img-file/s. This creates the
>>>> tdb,preview, mdx and _mdr.img. Works perfekt, but the only mistake
>>>> is : 'Overview Map' .
>>>>
>>>> result is : in mapsource ->Fläche' -->'Overview Map' and not 'Topo
>>>> Kanaren'
>>>> Am 28.11.2015 um 17:11 schrieb Gerd Petermann:
>>>>>
>>>>> Hallo Thomas,
>>>>>
>>>>>
>>>>> please try --family-name=xyz.
>>>>>
>>>>>
>>>>> Where did you get the binary that reports mkgmap-r3336 ?
>>>>>
>>>>> I assume that you build your own binary, in that case please
>>>>>
>>>>> use these two commands:
>>>>>
>>>>> svn update
>>>>>
>>>>> ant clean dist
>>>>>
>>>>>
>>>>> Gerd
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> *Von:* mkgmap-dev-bounces at lists.mkgmap.org.uk
>>>>> <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thomas
>>>>> Morgenstern <webmaster at img2ms.de>
>>>>> *Gesendet:* Samstag, 28. November 2015 15:29
>>>>> *An:* Development list for mkgmap
>>>>> *Betreff:* [mkgmap-dev] question for tdb-file record 0x52; option
>>>>> in mkgmap ?
>>>>> Has  mkgmap  a option, which write's the record 0x52 in tdb-file ?
>>>>> My maps have in Mapsource all the entry 'Overview map' . But i will
>>>>> for example 'Kanaren' or any other countryname. I have testet
>>>>> followings option without success: -region-name=anywhat
>>>>> ;-country.name= anywhat; -description= anywhat. I use -index to
>>>>> create the tdb-file. I can use a hexeditor to change  tdb- file-
>>>>> record 0x52. But this is not a preferable way. i must recalculate a
>>>>> CRC 32 checksum for record 0x54.
>>>>>
>>>>> By the way: i found a error in the tdb-file, created with mkgmap
>>>>> r3650 : it prints in the copyright-section :.../.Map created with
>>>>> mkgmap -r3336/...; It should bee updated to ./.r3650/
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> mkgmap-dev mailing list
>>>>> mkgmap-dev at lists.mkgmap.org.uk
>>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> mkgmap-dev mailing list
>>>> mkgmap-dev at lists.mkgmap.org.uk
>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>
>>
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
> _______________________________________________
> 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