According to OSM wiki bus stops can be tagged as bus_stop=yes or as public_transport=platform + bus=yes (or both ways), but current default style only catches the first case. The same can be said about tram stops. Attached patch adds rules for the second way of tagging.
Index: resources/styles/default/points
===================================================================
--- resources/styles/default/points	(revisión: 3333)
+++ resources/styles/default/points	(copia de trabajo)
@@ -42,21 +42,21 @@
 internet_access=yes { name 'Internet ${name}' | 'Internet' } [0x2f12 resolution 24 continue]
 internet_access=* & internet_access!=no & internet_access!=yes { name 'Internet(${internet_access}) ${name|def:}' } [0x2f12 resolution 24 continue]
 
-(highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
+( public_transport=platform & (bus=yes | tram=yes) ) | (highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
 & (ref=* | route_ref=*) {
   set ref='${ref|def:}(${route_ref})';
 }
-(highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
+( public_transport=platform & (bus=yes | tram=yes) ) | (highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
 & lit=yes & (shelter=yes | covered=yes)
 {
   set ref='${ref|def:}*';
 }
-(highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
+( public_transport=platform & (bus=yes | tram=yes) ) | (highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
 & lit!=yes & (shelter=yes | covered=yes)
 {
   set ref='${ref|def:}+';
 }
-(highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
+( public_transport=platform & (bus=yes | tram=yes) ) | (highway=bus_stop | railway=tram_stop | railway=halt | railway=station)
 & (shelter=no | covered=no)
 {
   set ref='${ref|def:}-';
@@ -190,7 +190,7 @@
 healthcare=hospital | amenity=hospital [0x3002 resolution 22]
 healthcare=* | amenity=dentist | amenity=doctors [0x3002 resolution 24]
 
-highway=bus_stop [0x2f17 resolution 24]
+( public_transport=platform & bus=yes ) | highway=bus_stop [0x2f17 resolution 24]
 
 highway=motorway_junction [0x2100 resolution 24]
 
@@ -226,7 +226,7 @@
 
 railway=halt [0x2f08 resolution 23]
 railway=station [0x2f08 resolution 22]
-railway=tram_stop [0x2f17 resolution 24]
+( public_transport=platform & tram=yes ) | railway=tram_stop [0x2f17 resolution 24]
 
 shop=bakers [0x2e02 resolution 24]
 shop=bakery [0x2e02 resolution 24]
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to