Rendering of islands

Hi all, I have a (hopefully not too dumb) questing regarding the display of relations with <tag k='place' v='island'/> <tag k='type' v='multipolygon'/> If I simply run 'mkgmap --route --index --code-page=1252 --gmapsupp --tdbfile' on the josm export, the result looks like the left in the attached screen shot (Giglio island, from QLandkarte GT, looks the same in the Garmin). The relation is apparently converted into a Garmin type 0x53 covering the whole island, and hiding all other features. If I copy the default style and just disable (comment out) the 'island' and 'islet' polygons, the result is the right one. However, I feel this is the wrong approach, as now the island's name is not available any more... But what is the correct one? Thanks in advance, Albrecht.

Hi Albrecht, AKAIK these problems can only be solved with a typ file that specifies the draw order for the polygon types. Or maybe using a different type for the island relation would help. Gerd Date: Sun, 7 Jun 2015 15:26:01 +0200 From: albrecht.dress@arcor.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] Rendering of islands Hi all, I have a (hopefully not too dumb) questing regarding the display of relations with <tag k='place' v='island'/> <tag k='type' v='multipolygon'/> If I simply run 'mkgmap --route --index --code-page=1252 --gmapsupp --tdbfile' on the josm export, the result looks like the left in the attached screen shot (Giglio island, from QLandkarte GT, looks the same in the Garmin). The relation is apparently converted into a Garmin type 0x53 covering the whole island, and hiding all other features. If I copy the default style and just disable (comment out) the 'island' and 'islet' polygons, the result is the right one. However, I feel this is the wrong approach, as now the island's name is not available any more... But what is the correct one? Thanks in advance, Albrecht. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd: Am 07.06.15 21:07 schrieb(en) Gerd Petermann:
AKAIK these problems can only be solved with a typ file that specifies the draw order for the polygon types.
Hmmm, yes, that makes sense. Do you know where I can find a default TYP file (source) which I could modify?
Or maybe using a different type for the island relation would help.
Looking at this list <http://wiki.openstreetmap.org/wiki/GroundTruth_Standard_Garmin_Types#Standard_Garmin_Types>, I wonder if there is something more appropriate.... :-/ Thanks, Albrecht.

Albrecht, You can use the osm generic (default) type file from garmin.openstreetmap.nl: https://github.com/ligfietser/mkgmap-style-sheets/tree/master/typ/osm%20gene... Not sure if the Island polygon (0x53) from this typ file is wrong, too.
Am 07.06.15 21:07 schrieb(en) Gerd Petermann:
AKAIK these problems can only be solved with a typ file that specifies the draw order for the polygon types.
Hmmm, yes, that makes sense. Do you know where I can find a default TYP file (source) which I could modify?
Or maybe using a different type for the island relation would help.
Looking at this list <http://wiki.openstreetmap.org/wiki/GroundTruth_Standard_Garmin_Types#Standard_Garmin_Types>, I wonder if there is something more appropriate.... :-/
Thanks, Albrecht.
participants (3)
-
Albrecht Dreß
-
Gerd Petermann
-
Minko