[mkgmap-dev] naming map layers in a gmapsupp.img
From Charlie Ferrero charlie at cferrero.net on Tue Dec 15 15:00:01 GMT 2009
Garvan & maew wrote: > Charlie Ferrero wrote: >> charlie at cferrero.net wrote: >> >>> Quoting Torsten Leistikow <de_muur at gmx.de>: >>> >>> >>>> Moin, >>>> >>>> I have multiple map layers in my gmapsupp.img file, but I can not >>>> set the name >>>> of the layers, so that they can be identified on my nuvi. >>>> >>>> The first layer is created by the following call: >>>> >>>> java -jar -Xmx6144M ../../mkgmap-r1170/mkgmap.jar >>>> --style-file=../../styles/06_restrictions_motorcar --remove-short-arcs=5 >>>> --transparent --product-id=7 --family-id=46 --country-name="Deutschland" >>>> --country-abbr="D" --family-name="OSM_M_OV" --tdbfile --draw-priority=18 >>>> --max-jobs=3 ../../osm/Europa/66666???.osm.gz >>>> >>>> The second layer is created by the following call: >>>> >>>> java -jar -Xmx6144M ../../mkgmap-r1170/mkgmap_style_2.jar >>>> --style-file=../../styles/03_topo_base --remove-short-arcs=5 --product-id=7 >>>> --family-id=43 --country-name="Deutschland" --country-abbr="D" >>>> --family-name="OSM_BASE" --tdbfile --draw-priority=8 --max-jobs=3 >>>> ../../osm/Europa/66663???.osm.gz >>>> >>>> And in a third step I combine both layers into the gmapsupp.img: >>>> >>>> java -jar mkgmap-r1429/mkgmap.jar --product-id=7 --mapset-name=OSM_M004 >>>> --gmapsupp img/06_restrictions_motorcar/*.img img/03_topo_base/*.img >>>> img/03_topo_base/OSM_BASE.TYP >>>> >>>> The resulting map is working ok, just when I look at the map settings in my >>>> nuvi, both layers are displayed in the same way >>>> >>>> family name >>>> [1] OSM street map >>>> family name >>>> [1] OSM street map >>>> >>>> So, what parameters do I have to set, so that I can identify the >>>> layers on the >>>> nuvi by the mapname? >>>> >>>> Gruss >>>> Torsten >>>> >>> I have noticed the same problem on my GPSMap. The name shown is that >>> of the top layer, no matter what options have been used to compile >>> each layer. All layers have a different family ID. I combine files >>> using sendmap, not mkgmap, incidentally, so the problem is not >>> occurring in the combine step. >>> >>> >> As a correction, the above should have read: >> "The *series* name shown is that of the top layer, no matter what >> options have been used to compile each layer." >> >> >> The full list of options is >> Restore Defaults >> Restore All Map Defaults >> Show All >> Show None >> Show Basemap >> Show International Mari [sic] >> Hide CF OSM map series >> Hide CF OSM map series >> >> > I recommend you make a test map using all the naming parameters, and > track which name goes where. You are missing --series-name and --area-name. > > I upload maps with MapSource, and the menu name you wish to change is > taken from the --family-name (as far as I can see). Oh, I set -series-name, -family-name and -area-name separately. This is how I know that the name that is visible in the GPS menu is the series name (not the area-name or family-name). Perhaps the problem is that I am not uploading the maps from Mapsource but instead just copying the gmapsupp.img file directly to the SD card (because this is many times quicker than uploading via the USB cable). For the record, series-name: This is the name displayed in the top-left drop down list in MapSource and that is visible in the GPS menu (but only the series name of the top layer) family-name: This is the name that appears in MapSource's Map Product Manager (CTRL+U) and is also ascribed to each tile if transferred using send-map area-name: This is the name that appears against each tile in the GPS unit if transferred manually by copying a gmapsupp.img to SD card Charlie
- Previous message: [mkgmap-dev] naming map layers in a gmapsupp.img
- Next message: [mkgmap-dev] naming map layers in a gmapsupp.img
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list