Don't draw abandoned railways when they're now highways
authorRichard Fairhurst <richard@systemeD.net>
Mon, 2 Jul 2012 17:42:09 +0000 (18:42 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Mon, 2 Jul 2012 17:42:09 +0000 (18:42 +0100)
resources/stylesheets/core_ways.css

index 4824fac..5ef012f 100644 (file)
@@ -57,8 +57,8 @@ way[railway=subway]::dashes  { z-index: 7; color: white; width: 3; dashes: 8,8;
 way[construction=subway] { z-index: 6; color: #444444; width: 5; dashes: 4, 4; }
 way[construction=subway]::dashes  { z-index: 7; color: white; width: 3; dashes: 4,12;}
 
-way[railway=disused],way[railway=abandoned] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
-way[railway=disused]::dashes,way[railway=abandoned]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
+way[railway=disused][!highway],way[railway=abandoned][!highway] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
+way[railway=disused][!highway]::dashes,way[railway=abandoned][!highway]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
 
 way[railway=tram]      { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
 way[construction=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; dashes: 6, 6; casing-dashes: 6, 6; }