Skip to content

Commit

Permalink
Merge pull request #4457 from pitdicker/clean_symbols
Browse files Browse the repository at this point in the history
Clean SVG symbols
  • Loading branch information
pnorman authored Jan 3, 2022
2 parents 8312c0d + 7f39bd9 commit 1178dfb
Show file tree
Hide file tree
Showing 283 changed files with 609 additions and 7,770 deletions.
36 changes: 20 additions & 16 deletions style/amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -145,22 +145,23 @@
}

[feature = 'highway_bus_stop'] {
[zoom >= 16] {
[zoom >= 16][zoom < 17] {
marker-file: url('symbols/square.svg');
marker-fill: @transportation-icon;
marker-width: 6;
marker-clip: false;
}
[zoom >= 17] {
marker-file: url('symbols/highway/bus_stop.12.svg');
marker-width: 12;
marker-file: url('symbols/highway/bus_stop.svg');
marker-fill: @transportation-icon;
marker-clip: false;
}
}

[feature = 'highway_elevator'][zoom >= 18] {
[access = null],
[access = 'yes'] {
marker-file: url('symbols/highway/elevator.12.svg');
marker-file: url('symbols/highway/elevator.svg');
marker-fill: @transportation-icon;
}
}
Expand Down Expand Up @@ -192,7 +193,7 @@
}

[feature = 'highway_traffic_signals'][zoom >= 17] {
marker-file: url('symbols/highway/traffic_light.13.svg');
marker-file: url('symbols/highway/traffic_light.svg');
marker-fill: #545454;
marker-clip: false;
}
Expand Down Expand Up @@ -1099,7 +1100,7 @@
}

[shop = 'motorcycle'][zoom >= 18] {
marker-file: url('symbols/motorcycle.svg');
marker-file: url('symbols/shop/motorcycle.svg');
}

[shop = 'music'][zoom >= 18] {
Expand Down Expand Up @@ -1182,7 +1183,7 @@
}

[feature = 'advertising_column'][zoom >= 19]{
marker-file: url('symbols/advertising_column.svg');
marker-file: url('symbols/amenity/advertising_column.svg');
marker-fill: @advertising-grey;
marker-clip: false;
}
Expand Down Expand Up @@ -1335,7 +1336,7 @@
}

[feature = 'aeroway_helipad'][zoom >= 16] {
marker-file: url('symbols/helipad.16.svg');
marker-file: url('symbols/amenity/helipad.svg');
marker-clip: false;
marker-fill: @airtransport;
}
Expand All @@ -1346,7 +1347,7 @@
[feature = 'aeroway_aerodrome']['iata' = null][zoom >= 12][zoom < 18] {
[way_pixels <= 192000],
[way_pixels = null] {
marker-file: url('symbols/aerodrome.12.svg');
marker-file: url('symbols/amenity/aerodrome.svg');
marker-clip: false;
marker-fill: @airtransport;
}
Expand Down Expand Up @@ -1383,7 +1384,8 @@
}

[feature = 'natural_spring'][zoom >= 14] {
marker-file: url('symbols/spring.svg');
marker-file: url('symbols/natural/spring.svg');
marker-fill: #7abcec;
marker-clip: false;
}

Expand All @@ -1397,14 +1399,14 @@
[zoom >= 14][height > 10],
[zoom >= 15][name != null],
[zoom >= 16] {
marker-file: url('symbols/waterfall.svg');
marker-file: url('symbols/natural/waterfall.svg');
marker-clip: false;
marker-fill: @water-text;
}
}

[feature = 'military_bunker'][zoom >= 17] {
marker-file: url('symbols/bunker.svg');
marker-file: url('symbols/man_made/bunker.svg');
marker-fill: @man-made-icon;
marker-clip: false;
}
Expand All @@ -1413,7 +1415,7 @@
[zoom >= 15][location != 'rooftop'][location != 'roof'],
[zoom >= 15][location = null],
[zoom >= 19] {
marker-file: url('symbols/generator_wind.svg');
marker-file: url('symbols/man_made/generator_wind.svg');
marker-fill: @man-made-icon;
marker-clip: false;
}
Expand Down Expand Up @@ -1480,9 +1482,11 @@

[feature = 'railway_level_crossing'][zoom >= 14]::railway,
[feature = 'railway_crossing'][zoom >= 15]::railway{
marker-file: url('symbols/level_crossing.svg');
marker-file: url('symbols/barrier/level_crossing.svg');
marker-fill: #4d4d4d;
marker-clip: false;
[zoom >= 16] {
marker-file: url('symbols/level_crossing2.svg');
marker-file: url('symbols/barrier/level_crossing2.svg');
}
}

Expand Down Expand Up @@ -2334,7 +2338,7 @@
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
text-dy: 6;
text-dy: 7;
}

[feature = 'amenity_atm'][zoom >= 19],
Expand Down
2 changes: 1 addition & 1 deletion style/stations.mss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#stations {
[railway = 'subway_entrance'][zoom >= 18] {
marker-file: url('symbols/entrance.10.svg');
marker-file: url('symbols/amenity/entrance.svg');
marker-fill: @transportation-icon;
marker-clip: false;
[zoom >= 19] {
Expand Down
10 changes: 0 additions & 10 deletions symbols/advertising_column.svg

This file was deleted.

5 changes: 0 additions & 5 deletions symbols/aerodrome.12.svg

This file was deleted.

5 changes: 5 additions & 0 deletions symbols/amenity/advertising_column.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions symbols/amenity/aerodrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 2 additions & 40 deletions symbols/amenity/arts_centre.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 2 additions & 36 deletions symbols/amenity/atm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 2 additions & 19 deletions symbols/amenity/bank.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 2 additions & 19 deletions symbols/amenity/bar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 2 additions & 30 deletions symbols/amenity/bbq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 2 additions & 38 deletions symbols/amenity/bench.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1178dfb

Please sign in to comment.