logo separator

[mkgmap-dev] aeroway in default style

From Andrzej Popowski popej at poczta.onet.pl on Tue Feb 14 10:43:28 GMT 2017

Hi Gerd,

I have removed is_closed() form polygon file and changed resolution of 
aeroway=heliport to match aeroway=aerodrome. Here attached patch v3.

I miss a bit explanation, how mkgmap process objects. It looks 
reasonable though to forward only closed lines to polygon processing.

-- 
Best regards,
Andrzej

-------------- next part --------------
Index: resources/styles/default/lines
===================================================================
--- resources/styles/default/lines	(revision 3804)
+++ resources/styles/default/lines	(working copy)
@@ -9,9 +9,10 @@
 # for more information.
 
 addr:housenumber=* {set mkgmap:execute_finalize_rules=true}
-aeroway=runway [0x27 resolution 20]
-aeroway=taxiway [0x27 resolution 24]
 
+aeroway=runway & highway!=* & is_closed()=false {name '${ref}'} [0x27 resolution 20]
+(aeroway=taxiway | aeroway=taxilane) & highway!=* & is_closed()=false {name '${ref}'} [0x27 resolution 24]
+
 # Assign the street name for house number search
 highway=* & name=* { set mkgmap:street='${name}' }
 
Index: resources/styles/default/polygons
===================================================================
--- resources/styles/default/polygons	(revision 3804)
+++ resources/styles/default/polygons	(working copy)
@@ -17,6 +17,9 @@
 
 aeroway=airport [0x07 resolution 20]
 aeroway=aerodrome [0x07 resolution 20]
+aeroway=runway {name '${ref}'} [0x0e resolution 20]
+(aeroway=taxiway | aeroway=taxilane) {name '${ref}'} [0x0e resolution 24]
+aeroway=heliport [0x07 resolution 20]
 aeroway=helipad [0x0e resolution 22]
 
 amenity=kindergarten [0x0a resolution 22]


More information about the mkgmap-dev mailing list