[mkgmap-dev] naming map layers in a gmapsupp.img
From Charlie Ferrero charlie at cferrero.net on Tue Dec 22 11:41:20 GMT 2009
Ralf Kleineisel wrote: > On 12/21/2009 11:25 AM, charlie at cferrero.net wrote: > >> Thanks for the info. I currently generate each layer of my 3-layer >> map using the --gmapsupp switch and then just combine the three >> gmapsupp.img files. Given your notes, it seems that this may be >> wrong. Instead I should only create the gmapsupp.img at the last >> step. Am I wrong to create "intermediate" gmapsupp.img files and then >> combine them? > > It's not wrong, it will work. But it is not necessary. Since the merge > of the mapset branch you can do it in one go, even combine pre-made .img > files (e.g. rarely changing contour layers) with newly created .img > files from .osm files. > _______________________________________________ Still not having much joy here. I've reached the point where I get the correct family names properly from the map setup sub-menu, but now individual tiles all have the same *area* name, irrespective of what was actually set. Option 1. (Worst option/broken) Combine prebuilt gmapsupp.img files into a new, final gmapsupp.img file. java -Xmx1500m -ea -jar mkgmap.jar --product-id=1 --mapset-name=UK_merged --gmapsupp --family-name="cont_family" --family-id=1402 ./contours/gmapsupp.img CF1402.TYP --family-name="base_family" --family-id=1400 ./base/gmapsupp.img CF1400.TYP --family-name="rout_family" --family-id=1401 ./routing/gmapsupp.img Final file size: 283 MB No OSM copyright message when booting GPS TYP files are not applied to the layers Under Menu->Setup map in GPS, all tiles are listed as , , Dec 2009 *except* two tiles which are listed as [description], Area 63240xxx, Dec 2009 Under the secondary menu (Menu->Setup Map->Menu) I see Hide rout_family Hide Hide base_family Hide Hide cont_family Hide Option 2. (Steve's method) Combine pre-compiled tiles (nb NOT gmapsupp.img files) into a single gmapsupp.img. java -Xmx1500m -ea -jar mkgmap.jar --product-id=1 --mapset-name=UK_merged --gmapsupp --family-name="cont_family" --series-name="cont_series" --area-name="cont_area" --family-id=1402 ./contours/%contourLayer%*.img CF1402.TYP --family-name="base_family" --series-name="base_series" --area-name="base_area" --family-id=1400 ./%OSMLayer%*.img CF1400.TYP --family-name="rout_family" --series-name="rout_series" --area-name="rout_area" --family-id=1401 ./%routingLayer%*.img Final file size: 284 MB OSM copyright visible when booting TYP files are applied to the layers Under Menu->Setup map in GPS, all tiles are listed as [description], rout_area, Dec 2009 **Aaargh!!** Under the secondary menu (Menu->Setup Map->Menu) I see Hide rout_family Hide base_family Hide cont_family **yay - this is what I wanted** So I've solved the problem of getting the familysets properly visible in the secondary map menu, but now individual tiles all share the same family name, no matter which family they were originally in. Yours strugglingly, -- 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