<div dir="ltr"><div>Hi Karl,</div><div><br></div><div>Thanks for your analysis, very instructive. I've tried several of your steps and arrived at the conclusion that it's not a good idea to set the resolution to 23. Here are the 2 main reasons:</div><div>1. as you mentioned the map becomes less accurate, some roundabouts are converted into triangles, some line segments are misaligned ...</div><div>2. from the cgpsmapper guide: "IMG file should be created with Level 0 equal to 24 – otherwise distance calculation might be wrong"</div><div><br></div><div>Do you know if the Garmin TopoActive map uses resolution 23 or 24 ?</div><div><br></div><div>Pierre</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 3, 2021 at 8:21 AM 7770 <<a href="mailto:7770@foskan.eu" target="_blank">7770@foskan.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi.<br>
I made a few tests to lower the size of the maps.<br>
<br>
Comparison is made to my standard map which is based on the styles example in <br>
mkgmap but extended a bit for my purposes. This has 100 % size.<br>
There are 4 levels, 24 is the most detailed resolution.<br>
<br>
Setting the resolution to 23 and changing relevant polygons, lines, points to <br>
show at 23 instead of 24. 4 levels (option file).<br>
Size 78 %.<br>
<br>
Setting the resolution to 23 and changing relevant polygons, lines, points to <br>
show at 23 instead of 24. 3 levels (option file). levels = 0:23, 1:20, 2:18<br>
Size 64 %.<br>
<br>
<br>
Using my minimal style (discussed earlier in this thread).<br>
Compared to normal map, it is about 75 % in size.<br>
<br>
Using minimal style and  <br>
Setting the resolution to 23 and changing relevant polygons, lines, points to <br>
show at 23 instead of 24. 4 levels (option file).<br>
Size 63 %.<br>
<br>
Using minimal style and  <br>
Setting the resolution to 23 and changing relevant polygons, lines, points to <br>
show at 23 instead of 24. 3 levels (option file). levels = 0:23, 1:20, 2:18<br>
Size 51 %.<br>
<br>
<br>
I noted that when resolution is set to 23 polygons smaller than the mentioned <br>
raster at ~4.8 m disappear. They also do get distorted. Buildings are such <br>
polygons that are effected a lot, and it is (in my opinion) a good idea to <br>
disable buildings and similar polygons entirely when lowering the resolution.<br>
Coast lines and alike become less detailed of course.<br>
Some line segments have become a bit misaligned (i noted bus stop platforms <br>
and similar short lines can have this issue).<br>
<br>
<br>
I yet have to check how well these maps work on a unit but it seems possible <br>
to lower the size quite a lot if it is desired.<br>
<br>
<br>
Regards<br>
Karl<br>
<br>
<br>
<br>
<br>
On onsdag 30 december 2020 kl. 13:27:06 CET Vuki wrote:<br>
> Hi,<br>
> <br>
> am also working on a "lite" style and there may be some nice idea in yours<br>
> to use :) will check that out, thanks!<br>
> <br>
> <br>
> Köszi:<br>
> Vuki<br>
> On 2020.12.30. 12:08, 7770 wrote:<br>
> <br>
> Hi.<br>
> I am ok with sharing the style, but i was not able to do it until today<br>
> (planned today or tomorrow).<br>
> 5 files attached, 4 related to style, 1 to TYP (foskan.txt).<br>
> Only those 4 style files have changes, compared to the standard.<br>
> <br>
> The complete set of files is ./mkgmap-rNNNN/examples/styles/default/<br>
> <br>
> <br>
> There is nothing fancy nor complex, nor have i played around with the levels<br>
> yet.<br>
> <br>
> For reference i also added my TYP-file, which may help in case you find some<br>
> type codes which are non standard (there might be a few). The type file is<br>
> shared and does contain a few things that are not used by the minimal style<br>
> (don't get confused).<br>
> <br>
> <br>
> Summery of the style, which is based on the default mkgmap example.<br>
> All changes comments are marked with ## to be able to tell them apart from<br>
> regular comments given after #.<br>
> <br>
> polygons and points do have a lot of disabled information.<br>
> Buildings, shops, and most of the parking types are disables.<br>
> <br>
> lines doesn't have as many changes and probably a few more small waterways<br>
> (streams, rapids, waterfalls) can be disabled to remove yet a bit of data.<br>
> <br>
> note for polygons.<br>
> Waters and forests are still visible, since it adds information to the map,<br>
> but if natural objects are not important for you, there is more space to<br>
> save.<br>
> <br>
> i have made one change in lines file to display the road name on tertiary<br>
> roads instead of the reference. this does make sense in nordic countries,<br>
> where tertiary roads are usually only referred to with the name.<br>
> <br>
> Ski lifts (arealways in general) are set in similar way as railroads.<br>
> <br>
> One last thing to mention is that i have updated the inc/address file.<br>
> Close to the end there is a section in which the mkgmap:phone is updated to<br>
> show information about which fuels are sold at fuel stations. This is not<br>
> fully complete for all fuel types but the ones i somehow considered<br>
> important. Depending on where one is, a few more fuel types can easily be<br>
> added.<br>
> <br>
> A note.<br>
> The mkgmap:phone seems to be 50 characters maximum, longer data will be<br>
> truncated and not shown on the device it seems.<br>
> <br>
> <br>
> Regards and happy new year!<br>
> Karl<br>
> <br>
> On onsdag 30 december 2020 kl. 10:16:51 CET Vuki wrote:<br>
> <br>
> Hi Karl,<br>
> <br>
> don't you want to share your minimal style? :)<br>
> <br>
> <br>
> Köszi:<br>
> Vuki<br>
> On 2020.12.27. 20:59, 7770 wrote:<br>
> <br>
> Hi.<br>
> A few observations about the TopoActive europe map. (i have it on a GPSMAP<br>
> 66st).<br>
> <br>
> The map is rendered slower than most custom made maps.<br>
> Updates occur 2 times per year, but even at those times many changes to OSM<br>
> are not present. Perhaps they only update some parts yearly.<br>
> Points lack all kind of additional information which other mappers add<br>
> (opening hours, region, phone numbers, etc.).<br>
> One nice thing is colour marked national parks and reserves.<br>
> Being an outdoor map, it lacks some information about shelters in the<br>
> wilderness.<br>
> Routing is possible only for outdoor activities (cycle, walk, hike, direct),<br>
> automotive routing (car, motorcycle) is disabled.<br>
> <br>
> I have tried creating a minimal style. This lowers the data to about 75 % or<br>
> my normal set up. But i did not change the level, which i will try :-)<br>
> Currently I am no way near the compression which TopoActive achieves. Using<br>
> input data which is about 6,7 GB in pbf format, creates a gmapsupp just<br>
> below 4 GB for normal and around 3 GB for minimal style. These numbers<br>
> feels similar to getting France into 1.9 GB from 3.7 GB pbf (geofabrik).<br>
> <br>
> <br>
> The minimal set up is not very fancy at all, it disables things not wanted.<br>
> Buildings, shops, most of parkings, and a bit more.<br>
> <br>
> Today i cannot send off any style, but in case that would be of interest let<br>
> me know and i can share it in a few days (guessing Wednesday or Thursday).<br>
> <br>
> <br>
> Regards<br>
> Karl<br>
> <br>
> On söndag 27 december 2020 kl. 20:08:10 CET Gerd Petermann wrote:<br>
> <br>
> Hi Pierre,<br>
> <br>
> my first guess would be that the level 0 is at resolution 23 instead of 24.<br>
> <br>
> Gerd<br>
> <br>
> ________________________________________<br>
> Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von<br>
> Pierre Brico <<a href="mailto:pierre.brico@gmail.com" target="_blank">pierre.brico@gmail.com</a>> Gesendet: Sonntag, 27. Dezember 2020<br>
> 19:37<br>
> An: Development list for mkgmap<br>
> Betreff: [mkgmap-dev] Garmin Topo Europe map<br>
> <br>
> <br>
> Hello guys,<br>
> <br>
> I've just discovered the Garmin TopoActive Europe map based on OpenStreetMap<br>
> data. This map is sold at a price of 50€ or is pre-installed on some new<br>
> devices. I've just seen it on the device of one of my friends and it looks<br>
> very good. I'm surprised to see that for West Europe, it takes only 2.8GB<br>
> and is quite complete (index for search, routable, ...).<br>
> <br>
> For now, I generate my own maps based on your excellent tool but the result<br>
> is much bigger (1.9GB only for France with probably more details). So, my<br>
> question is: does anybody have a similar configuration (style files and<br>
> command line) to obtain a result like the Garmin TopoActive Europe ?<br>
> <br>
> Thanks,<br>
> Pierre<br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div></div>