logo separator

[mkgmap-dev] creating a fool-proof mapsource installer across different versions

From maning sambale emmanuel.sambale at gmail.com on Thu May 28 03:55:24 BST 2009

This solution work on MapSource ver 61.11 and 6.15.6

mkgmap syntax:

time java -Xmx512m -jar mkgmap.jar --code-page=1252 \
--tdbfile --gmapsupp --latin1 --country-abbr=PHI
--country-name=PHILIPPINES --road-name-pois --add-pois-to-areas \
--no-poi-address --family-id=639 --family-name="OSM_PHIL"
--overview-mapname=40000001 \
--route --description="OSM_PHIL" /path/philippines.osm


registry:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL]
"ID"=hex:7f,02

[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL\1]
"LOC"="C:\\OSM\\"
"BMAP"="C:\\OSM\\40000001.img"
"TDB"="C:\\OSM\\40000001.tdb"

Thanks to all your advice


On Wed, May 27, 2009 at 6:02 PM, Marco Certelli <marco_certelli at yahoo.it> wrote:
>
> Well, try before enjoing. Actually I take a slighly different approach to mapsoruce install. I use mkgmap with something like:
>
> --overview-mapname=40000000 --mapname=40000001
>
> and then in the registry
> ...
> "BMAP"="C:\\OSM\\40000000.img"
> "TDB"="C:\\OSM\\40000000.tdb"
> ...
>
> Try it also.
>
> Have a nice day, Marco.
>
> --- Mer 27/5/09, maning sambale <emmanuel.sambale at gmail.com> ha scritto:
>
>> Da: maning sambale <emmanuel.sambale at gmail.com>
>> Oggetto: Re: [mkgmap-dev] creating a fool-proof mapsource installer across  different versions
>> A: "Development list for mkgmap" <mkgmap-dev at lists.mkgmap.org.uk>
>> Data: Mercoledì 27 maggio 2009, 10:28
>> Marko,
>>
>> You made my day!  Will test this tonight.  Thanks
>> thanks!
>>
>> On Wed, May 27, 2009 at 3:57 PM, Marco Certelli <marco_certelli at yahoo.it>
>> wrote:
>> >
>> > No, just keep the --family-id=639 and eliminate only
>> the --product-id=xxx (elmiminating the product-id, the
>> default is 1)
>> >
>> > Then the .reg would be:
>> >
>> > REGEDIT4
>> >
>> >
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL]
>> > "ID"=hex:7f,02
>> >
>> >
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL\1]
>> > "LOC"="C:\\OSM\\"
>> > "BMAP"="C:\\OSM\\40000001.img"
>> > "TDB"="C:\\OSM\\40000001.tdb"
>> >
>> > Should work.
>> >
>> > If you want to add a personal typ file, you must put
>> the family-id,product-id in the typ file (for you, it would
>> be 639,1). see http://ati.land.cz/gps/typdecomp/editor.cgi
>> >
>> > Remember you cannot contemporary have 2 maps installed
>> with the same family-id or product-id.
>> >
>> > Ciao.
>> >
>> >
>> > --- Mer 27/5/09, maning sambale <emmanuel.sambale at gmail.com>
>> ha scritto:
>> >
>> >> Da: maning sambale <emmanuel.sambale at gmail.com>
>> >> Oggetto: Re: [mkgmap-dev] creating a fool-proof
>> mapsource installer across  different versions
>> >> A: "Development list for mkgmap" <mkgmap-dev at lists.mkgmap.org.uk>
>> >> Data: Mercoledì 27 maggio 2009, 05:21
>> >> So it should be:
>> >>  mkgmap syntax:
>> >>  java -Xmx512m -jar dist/mkgmap.jar
>> >> --code-page=1252 --tdbfile \
>> >> --gmapsupp --latin1 --country-abbr=PHI
>> >> --country-name=PHILIPPINES \
>> >>  --road-name-pois --add-pois-to-areas
>> >> --no-poi-address --family-name="OSM_PHIL"
>> >> --overview-mapname=40000001 \
>> >> --route --description="OSM_PHILIPPINES"
>> >> /path/to/your/osm/file/philippines.osm
>> >>
>> >> omitting family-id and product-id
>> >>
>> >> registry key should be:
>> >> REGEDIT4
>> >>
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\40000001]
>> >> "ID"=hex:7f,02
>> >>
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL]
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL\1]
>> >> "LOC"="C:\\OSM\\"
>> >> "BMAP"="C:\\OSM\\40000001.img"
>> >> "TDB"="C:\\OSM\\40000001.tdb"
>> >>
>> >> I'm a bit perplexed with the
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\40000001]
>> >> "ID"=hex:7f,02
>> >>
>> >>
>> >>
>> >> On Tue, May 26, 2009 at 9:36 PM, Marco Certelli
>> <marco_certelli at yahoo.it>
>> >> wrote:
>> >> >
>> >> > It might be:
>> >> >
>> >> > --family-name="OSM_PHIL"
>> >> >
>> >> > then
>> >> >
>> >> >
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL]
>> >> >
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL\1]
>> >> >
>> >> > Ciao.
>> >> >
>> >> >
>> >> > --- Mar 26/5/09, Lambertus <osm at na1400.info>
>> >> ha scritto:
>> >> >
>> >> >> Da: Lambertus <osm at na1400.info>
>> >> >> Oggetto: Re: [mkgmap-dev] creating a
>> fool-proof
>> >> mapsource installer across different versions
>> >> >> A: "Development list for mkgmap" <mkgmap-dev at lists.mkgmap.org.uk>
>> >> >> Data: Martedì 26 maggio 2009, 15:25
>> >> >> Strange, I have about 200 people
>> >> >> downloading maps per day. Most of them
>> will use
>> >> the
>> >> >> MapSource installer which uses the
>> product-id to
>> >> register
>> >> >> the map and I never receive complaints
>> about
>> >> MapSource
>> >> >> crashes.
>> >> >>
>> >> >> Apollinaris Schoell wrote:
>> >> >> > Don't use --product-id
>> >> >> > this let's Mapsource crash most of
>> the time
>> >> or you
>> >> >> can't even start a map after install
>> >> >> >
>> >> >> >
>> >> >> > On 26 May 2009, at 14:05 , maning
>> sambale
>> >> wrote:
>> >> >> >
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> Somewhat off-topic with mkgmap
>> but
>> >> closely
>> >> >> related, I have been
>> >> >> >> receiving numerous reports of
>> mapsource
>> >> install
>> >> >> error of my OSM-PH
>> >> >> >> garmin maps
>> >> >> >> I create mapsource installer
>> using
>> >> winrar's sfx
>> >> >> version, for details:
>> >> >> >> http://epsg4253.wordpress.com/2009/04/13/diy-garmin-routable-map-from-openstreetmap-data-into-mapsource-win-and-roadtrip-mac/
>> >> >>
>> >> >> >>
>> >> >> >> My mapsource version 6.11  and
>> it
>> >> installs
>> >> >> OK.  Problems persist on
>> >> >> >> other versions like 6.13 and
>> mostly
>> >> 6.15.6.
>> >> >> >>
>> >> >> >> Any advice in creating
>> fool-proof install
>> >> for
>> >> >> MapSource?
>> >> >> >>
>> >> >> >>
>> >> >> >> My registry key is like this:
>> >> >> >> REGEDIT4
>> >> >> >>
>> >> >>
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\40000001]
>> >> >> >> "ID"=hex:7f,02
>> >> >> >>
>> >> >>
>> >>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\40000001\678]
>> >> >> >> "LOC"="C:\\OSM\\"
>> >> >> >> "BMAP"="C:\\OSM\\40000001.img"
>> >> >> >> "TDB"="C:\\OSM\\40000001.tdb"
>> >> >> >>
>> >> >> >> mkgmap syntax:
>> >> >> >> java -Xmx512m -jar
>> dist/mkgmap.jar
>> >> >> --code-page=1252 --tdbfile \
>> >> >> >> --gmapsupp --latin1
>> --country-abbr=PHI
>> >> >> --country-name=PHILIPPINES \
>> >> >> >> --road-name-pois
>> --add-pois-to-areas
>> >> >> --no-poi-address --family-id=639 \
>> >> >> >> --family-name="OSM_PHIL"
>> >> --product-id=678
>> >> >> --overview-mapname=40000001 \
>> >> >> >> --route
>> --description="OSM_PHILIPPINES"
>> >> >> /path/to/your/osm/file/philippines.osm
>> >> >> >> -
>> >> >> >> -
>> >> >> >> cheers,
>> >> >> >> maning
>> >> >> >>
>> >> >>
>> >>
>> ------------------------------------------------------
>> >> >> >> "Freedom is still the most
>> radical idea
>> >> of all"
>> >> >> -N.Branden
>> >> >> >> wiki: http://esambale.wikispaces.com/
>> >> >> >> blog: http://epsg4253.wordpress.com/
>> >> >> >>
>> >> >>
>> >>
>> ------------------------------------------------------
>> >> >> >>
>> >> _______________________________________________
>> >> >> >> 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
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> cheers,
>> >> maning
>> >>
>> ------------------------------------------------------
>> >> "Freedom is still the most radical idea of all"
>> -N.Branden
>> >> wiki: http://esambale.wikispaces.com/
>> >> blog: http://epsg4253.wordpress.com/
>> >>
>> ------------------------------------------------------
>> >> _______________________________________________
>> >> 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
>> >
>>
>>
>>
>> --
>> cheers,
>> maning
>> ------------------------------------------------------
>> "Freedom is still the most radical idea of all" -N.Branden
>> wiki: http://esambale.wikispaces.com/
>> blog: http://epsg4253.wordpress.com/
>> ------------------------------------------------------
>> _______________________________________________
>> 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
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the mkgmap-dev mailing list