logo separator

[mkgmap-dev] Memory problems since 1245

From Du Plessis, Bennie Bennie.DuPlessis at sappi.com on Wed Oct 7 11:18:44 BST 2009

>From: Carlos Dávila [mailto:cdavilam at jemila.jazztel.es] 

>...sea map. When I zoom or pan the map in overlapped areas I can see the
>sea just for a second until regular map is drawn on top. Has anyone
>succeeded with this method?
>
>In my case both maps are shown as "family name" "[1] OSM street map"
>although they were built with different parameters

I've had success sending the maps from mapsource to device. I have not tried mkgmap --gmapsupp yet because my approach worked. Interesting enough without draw priority or transparency set.

::Make onetile SdAf Sea
java -ea -Xmx1000M -jar latest/mkgmap.jar^
 --tdbfile^
 --style-file=MySeaStyle^  
	(the default style with everything not coast / sea deleted and resolution 12)
 --description=SdAfSea1260^
 --product-id=0001^
 --overview-mapname=SdAfSeaOView1260^
 --mapname=10000000^
 --family-name=SdAfSea1260^
 --family-id=0001^
 --generate-sea^
 --ignore-osm-bounds^
 10000000.osm.gz   


::Make onetile SdAf Sea
java -ea -Xmx1000M -jar mkgmap-mdr-r1262.jar^
 --tdbfile^
 --description=SdAfSee1262^
 --product-id=0001^
 --overview-mapname=SdAfSeeOV1262^
 --mapname=10000000^
 --family-name=SdAfSee1262^
 --family-id=0001^
 --ignore-osm-bounds^
 --seriesname=SdAfSee^ 
	(makes selection in mapsource easier)
 --index^
 10000000.img

This second run is to create mdr & mdx to be able to send family to device
Most of the options are not needed, what is NB is: --index; Fam-name; fam-id & I think prod-id?
I run a separate compile for -index because the first run to make the img takes 1,5 hr and if something goes wrong I don't want to do everything over again.

My routable map I make like this:

::Make 4tile SdAf
java -ea -Xmx1000M -jar latest/mkgmap.jar^
 --name-tag-list=name:af,name^
 --tdbfile^
 --style-file=MyStyle^
 --description=SdAf4T1260^
 --product-id=0004^
 --overview-mapname=SdAf4TOView1260^
 --mapname=40000001^
 --family-name=SdAf4TFam1260^
 --family-id=0004^
 --Region-name="SARegion"^
 --remove-short-arcs^
 --route^
 --index^
 --road-name-pois^
 --seriesname=SdAf4T^ 
 10000001.osm.gz^
 10000002.osm.gz^
 10000003.osm.gz^
 10000004.osm.gz

I should have added the appropriate draw priorities & transparancy, but fotgot, and it works perfect on my Nuvi200W except that although the maps shows up as separate maps on the map info, it is not selectable as I expected.

Registry entry for mapsource:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\SdAf4TFam1260]
"ID"= hex:04,00
"IDX"="C:\\Garmin\\OSM\\Make200910052\\SdAf4TOView1260.mdx"
"MDR"=="C:\\Garmin\\OSM\\Make200910052\\SdAf4TOView1260_mdr.img"
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\SdAf4TFam1260\0004]
"LOC"="C:\\Garmin\\OSM\\Make200910052\\"
"BMAP"="C:\\Garmin\\OSM\\Make200910052\\SdAf4TOView1257.img"
"TDB"="C:\\Garmin\\OSM\\Make200910052\\SdAf4TOView1257.tdb"


[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\SdAfSea1262]
"ID"=hex:01,00
"IDX"="C:\\Garmin\\OSM\\Make200910052\\SdAfSeaOView1262.mdx"
"MDR"=="C:\\Garmin\\OSM\\Make200910052\\SdAfSeaOView1262_mdr.img"
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\SdAfSea1262\0001]
"LOC"="C:\\Garmin\\OSM\\Make200910052\\"
"BMAP"="C:\\Garmin\\OSM\\Make200910052\\SdAfSeaOView1262.img"
"TDB"="C:\\Garmin\\OSM\\Make200910052\\SdAfSeaOView1262.tdb"

Hope this helps you.
I will try again using Mkgmap --gmapsupp to see if I can get it to work that way, but will only be able to try it ovewr the weekend. Maybe in the mean time someone else can also tell us how they succeeded.
BennieD

The opinions contained in this message are those of the sender only and do not reflect those of Sappi Limited or any of its subsidiary or associated companies. 

"This message, including any attachment(s), may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient of this message, please notify the sender thereof and destroy/delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies, jointly referred to as 'Sappi') shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. Any opinions, statements, conclusions and other information contained in this message and/or its attachment(s) that do not relate or refer to the official business of Sappi Limited or any of its subsidiary or associated companies shall be regarded as neither provided nor approved by any Sappi company. Views expressed in this message or its attachment(s) may not necessarily be those of Sappi and Sappi cannot be held liable for any direct or indirect loss or injury resulting from the contents of a message and/or its attachments."


Directors names

A list of Sappi companies and the names of their directors can be retrieved from http://www.sappi.com/SappiWeb/Investor+info/Corporate+governance/Board+resumes


#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security solution. 
Download a free evaluation of MailMarshal at www.marshal.com
#####################################################################################



More information about the mkgmap-dev mailing list