logo separator

[mkgmap-dev] Bay polygons points conversion

From David david.tlp at orange.fr on Fri Dec 20 16:06:38 GMT 2019

The if else is needed in my case because the option « add-pois-to-areas » adds at least one point for each polygon/multipolygon. For example, if a polygon is used to display a named hospital, you will then have also a point with the same name. As explained in the documentation, it makes possible to search the hospital. For Ireland, adding pois to polygons adds at least 3Mb more to the final img file. In Qmapshack, the name of extra POIs is displayed. With the if statement, I do not render bay polygon in polygons style file but I add a corresponding POI in points style file only for bays.

This simple trick may need few lines in the documentation.

But, I think the problem is that a bay is an inner part of something bigger (like an administrative area is a part of a country). As we do not render counties with a special polygon, bay should not be rendered because they are parts of ocean or sea with no really borders. Last point the style 0x3d chosen for bays is in Garmin Europe map and other Garmin products used for lakes with a size between 77 and 250 km2. 0x3b and 0x45 are known as to be blue like sea polygon and correspond to « unknown ». 

David



More information about the mkgmap-dev mailing list