Hi I'm failing to understand how family-id works. I'm using the latest mkgmap to compile a custom map:
This produces a map that's viewable in Garmin Basecamp, but doesn't look as expected I'm using OpenFietsMap's style & typ files from: https://github.com/ligfietser/mkgmap-style-sheets https://wiki.openstreetmap.org/wiki/Mkgmap/help/options#Product_description_options This section of the wiki says: "If you want to compile a map with a TYP file, you will need to ensure that the family-id of the map matches that of the TYP file" If you view 2000.txt from the github you'll see the FID is set to 2000 https://github.com/ligfietser/mkgmap-style-sheets/tree/master/typ/osm%20generic%20new However if I change --family-id=42 in the command line to 2000 Basecamp issues this error message & won't open: What is the solution? asked 07 Jul '19, 13:49 DaveF |
I would use MapSetToolkit to manipulate this type of thing: which are Windows Registry entries IIRC. I'm not sure where you'd find it now, but I still find it useful.
I've been using MapSetToolkit occasionally for a few years, but I want to use mkgmap command line options within script to semi automate the process. MapSetToolkit's GUI means filling in the options every time. A real pain if your experimenting while learning to use it.
Also, unless I'm mistaken, it doesn't create a gmapsupp.img required for a Garmin GPSr
If you're changing the family ID in the files but not updating the respective registry values with MapSetToolkit, then BaseCamp isn't able to find what it's expecting. When the family ID changes, the filenames of the TDB and IMG files change too, so these all need to be updated in the registry.