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

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@gmail.com> ha scritto:
Da: maning sambale <emmanuel.sambale@gmail.com> Oggetto: Re: [mkgmap-dev] creating a fool-proof mapsource installer across different versions A: "Development list for mkgmap" <mkgmap-dev@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@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@gmail.com> ha scritto:
Da: maning sambale <emmanuel.sambale@gmail.com> Oggetto: Re: [mkgmap-dev] creating a fool-proof mapsource installer across different versions A: "Development list for mkgmap" <mkgmap-dev@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@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@na1400.info>
ha scritto:
Da: Lambertus <osm@na1400.info> Oggetto: Re: [mkgmap-dev] creating a
fool-proof mapsource installer across different versions
A: "Development list for mkgmap" <mkgmap-dev@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-openst...
> > 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@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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@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@gmail.com> ha scritto:
Da: maning sambale <emmanuel.sambale@gmail.com> Oggetto: Re: [mkgmap-dev] creating a fool-proof mapsource installer across different versions A: "Development list for mkgmap" <mkgmap-dev@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@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@gmail.com> ha scritto:
Da: maning sambale <emmanuel.sambale@gmail.com> Oggetto: Re: [mkgmap-dev] creating a fool-proof mapsource installer across different versions A: "Development list for mkgmap" <mkgmap-dev@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@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@na1400.info>
ha scritto:
Da: Lambertus <osm@na1400.info> Oggetto: Re: [mkgmap-dev] creating a
fool-proof mapsource installer across different versions
A: "Development list for mkgmap" <mkgmap-dev@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-openst...
>> >> 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@lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > >
> mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@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/ ------------------------------------------------------

On Thu, May 28, 2009 at 2:55 AM, maning sambale<emmanuel.sambale@gmail.com> wrote:
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"
I got this working under MapSource 6.15.6 using this mkgmap command: java -Xmx512M -jar ~/src/mkgmap/dist/mkgmap.jar --code-page=1252 \ --tdbfile --latin1 --family-id=639 --series-name="OSM Iceland" --family-name="OSM_ICE" \ --overview-mapname=40000001 --mapname=40000002 \ --route --description="OSM Iceland" ~/src/josm/Iceland.osm And this regedit file: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_ICE] "ID"=hex:7f,02 [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_ICE\1] "LOC"="C:\\OSM\\" "BMAP"="C:\\OSM\\40000001.img" "TDB"="C:\\OSM\\40000001.tdb" When debugging this I accidentally did: --overview-mapname=40000001 --mapname=40000001 instead of: --overview-mapname=40000001 --mapname=40000002 That resulted in mkgmap overwriting the mapname file with the overview-mapname file, i.e. this: 108K OSM/40000001.img 4.0K OSM/40000001.tdb instead of this: 108K OSM/40000001.img 4.0K OSM/40000001.tdb 2.4M OSM/40000002.img It would be helpful if mkgmap showed a warning or error on such incompatible command-line options.
participants (3)
-
maning sambale
-
Marco Certelli
-
Ævar Arnfjörð Bjarmason