logo separator

[mkgmap-dev] aeroway in default style

From Andrzej Popowski popej at poczta.onet.pl on Mon Feb 13 19:45:24 GMT 2017

Hi,

I'm attaching proposed patch for aeroways. It corrects following problems:
- aeroway is a highway, example http://www.openstreetmap.org/way/23832044
- aeroway=runway is an area, example 
http://www.openstreetmap.org/way/306366732

Patch also adds support for aeroway=taxilane and aeroway=heliport.

-- 
Best regards,
Andrzej
-------------- next part --------------
Index: resources/styles/default/lines
===================================================================
--- resources/styles/default/lines	(revision 3804)
+++ resources/styles/default/lines	(working copy)
@@ -9,8 +9,8 @@
 # for more information.
 
 addr:housenumber=* {set mkgmap:execute_finalize_rules=true}
-aeroway=runway [0x27 resolution 20]
-aeroway=taxiway [0x27 resolution 24]
+aeroway=runway & area!=yes & highway!=* {name '${ref}'} [0x27 resolution 20]
+(aeroway=taxiway | aeroway=taxilane) & highway!=* {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,8 @@
 
 aeroway=airport [0x07 resolution 20]
 aeroway=aerodrome [0x07 resolution 20]
+aeroway=runway & area=yes {name '${ref}'} [0x0e resolution 20]
+aeroway=heliport [0x07 resolution 21]
 aeroway=helipad [0x0e resolution 22]
 
 amenity=kindergarten [0x0a resolution 22]


More information about the mkgmap-dev mailing list