Debian Codegraph @

doc/README.installing

raw
1 $Id$
2
3 README.installing for mkgmap
4
5 * Approaches
6
7 There are basically three approaches for taking the output of mkgmap
8 and installing it on a GPS receiver. One is to directly use the .img
9 file, and the other two are to import tha map data to Garmin's
10 proprietary programs for Windows (MapSource) and Mac (RoadTrip).
11
12 With the direct .img approach, the receiver will have a single map,
13 generated by mkgmap, and no way to switch back and forth. With
14 MapSource and RoadTrip, the OSM map can be installed along with other
15 maps, and one can then use the UI on the GPS receiver to switch maps.
16 Also, one can view the maps on a computer.
17
18 * Direct .img
19
20 mkgmap will normally produce a file called "gmapsupp.img". Place this
21 file on the filesystem in the GPS receiver as /Garmin/gmapsupp.img.
22 (There is no way to switch among multiple img files from the GPS
23 receiver UI.)
24
25 * MapSource
26
27 [TO BE reviewed: This needs some registry voodoo.]
28 There is 3 methods to install maps to MapSource:
29
30 1. Create and execute a *.reg file
31 With a text editor create a file and save it as RegFileName.reg
32 with the following content, where HexID is the hex format of the
33 FID, in little-endian order, FID is the FamilyID and PID is the
34 ProductID;
35
36 REGEDIT4
37
38 [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\FID]
39 "ID"= hex:HexFID
40 "IDX"="C:\\Garmin\\path\\to\\maps\\OverviewMapName.mdx"
41 "MDR"="C:\\Garmin\\path\\to\\maps\\OverviewMapName_mdr.img"
42
43 [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\FID\PID]
44 "LOC"="C:\\Garmin\\path\\to\\maps\\"
45 "BMAP"="C:\\Garmin\\path\\to\\maps\\OverviewMapName.img"
46 "TDB"="C:\\Garmin\\path\\to\\maps\\OverviewMapName.tdb"
47
48 2. Edit the registry by hand
49
50 3. Using MapSetToolKit (http://cypherman1.googlepages.com/)
51 - Run MapSetToolKit and click Install button placed at the bottom
52 right corner. A dialogue will appear with some blank fields:
53
54 Registry name: introduce any name for your reference.
55 TDB file: browse to the file osmmap.tdb.
56 Overview map: browse to the file osmmap.img.
57 Maps directory: it is filled automatically after giving the path to the files above .
58
59 - Click Install, close the application and you are done. You now have the map in MapSource.
60
61 * RoadTrip
62
63 TO BE FINISHED:
64
65 Garmin provides RoadTrip, a program to view maps, as a no-cost
66 download. RoadTrip is bundled with MapInstaller and MapManager.
67
68 http://www8.garmin.com/support/download_details.jsp?id=4332
69
70 Create an overview map with --tdb and -overviewmap.
71
72 Get http://wiki.openstreetmap.org/wiki/Gmapibuilder and run it.
73
74 open the resulting .gmapi. In MapManager, install the map. Then, in
75 RoadTrip the map should be selectable. In MapInstaller, you should
76 be able to choose tiles from the OSM map.