Want to make one map from individual maps with different details

I noticed that Garmin City Navigator uses different thickness of linetype as you zoom out. I can create 2 different TYP files (filename.txt) to be used with my mkgmap command and still use the same style files, but I do not know how to combine these different maps and how to specify at what zoom levels each map is to be visible. Example: Zoom level 0-2 (detailed map with wide roads 'detailed.img') Zoom level 3-5 (overview map with thinner lines and some features removed 'overview.img) How exactly to I combine these 2 maps into one 'combo' map. I know the file size will double Do I use GmapTool? Greg

Hi Greg, I would use different line types for different zoom levels like this: waterway=canal [0x18 resolution 20-22 continue] waterway=canal [0x1f resolution 23 ] Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago@gmail.com> Gesendet: Freitag, 13. Januar 2017 02:34:09 An: Development list for mkgmap Betreff: [mkgmap-dev] Want to make one map from individual maps with different details I noticed that Garmin City Navigator uses different thickness of linetype as you zoom out. I can create 2 different TYP files (filename.txt) to be used with my mkgmap command and still use the same style files, but I do not know how to combine these different maps and how to specify at what zoom levels each map is to be visible. Example: Zoom level 0-2 (detailed map with wide roads 'detailed.img') Zoom level 3-5 (overview map with thinner lines and some features removed 'overview.img) How exactly to I combine these 2 maps into one 'combo' map. I know the file size will double Do I use GmapTool? Greg

Hi Greg, in case of routable lines, make sure that 23 (in the example below) is a routable line. 20-22 can be any non routable line (I am using 0x10000 and above for that). e.g. highway=motorway & network=e-road [0x10101 resolution 14-16 continue with_actions] highway=motorway [0x10101 resolution 15-16 continue with_actions] highway=motorway [0x01 road_class=4 road_speed=7 resolution 17] Walter -----Ursprüngliche Nachricht----- From: Gerd Petermann Sent: Friday, January 13, 2017 6:18 AM To: Development list for mkgmap Subject: Re: [mkgmap-dev] Want to make one map from individual mapswith different details Hi Greg, I would use different line types for different zoom levels like this: waterway=canal [0x18 resolution 20-22 continue] waterway=canal [0x1f resolution 23 ] Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago@gmail.com> Gesendet: Freitag, 13. Januar 2017 02:34:09 An: Development list for mkgmap Betreff: [mkgmap-dev] Want to make one map from individual maps with different details I noticed that Garmin City Navigator uses different thickness of linetype as you zoom out. I can create 2 different TYP files (filename.txt) to be used with my mkgmap command and still use the same style files, but I do not know how to combine these different maps and how to specify at what zoom levels each map is to be visible. Example: Zoom level 0-2 (detailed map with wide roads 'detailed.img') Zoom level 3-5 (overview map with thinner lines and some features removed 'overview.img) How exactly to I combine these 2 maps into one 'combo' map. I know the file size will double Do I use GmapTool? Greg _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Greg, If you want your roads with different thickness depending on zoom, then simply do not give any graphics in TYP for roads. Additional bonus is that GPS (at least nuvi) will draw arrows on on-way roads. This probably won't work for other lines like rivers. About combining, you have multiple options. You can load 2 maps to GPS and switch both on. You can merge 2 maps with GmapTool, mkgmap or Mapsource/MapInstall. You can create single mapset on PC with both maps included. And finally you can use Gerd advice, which is IMHO the best way. -- Best regards, Andrzej
participants (4)
-
Andrzej Popowski
-
Gerd Petermann
-
greg crago
-
Walter Schlögl