Skip to content

Commit

Permalink
Better rendering of religious features
Browse files Browse the repository at this point in the history
This branch supersedes branch
https://github.com/Ircama/openstreetmap-carto/tree/topo-extension-zooms
specifically for the rendering of religious buildings and related text:

    amenity=place_of_worship
    man_made=campanile
    building=shrine
    building=synagogue
    building=temple
    building=mosque
    building=church
    building=chapel
    building=cathedral

Related PR will replace gravitystorm#2139 for the rendering of religious features.
  • Loading branch information
Ircama committed Aug 20, 2016
1 parent 0169188 commit 5666bf2
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 20 deletions.
27 changes: 25 additions & 2 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -375,23 +375,39 @@
marker-clip: false;
}

[feature = 'man_made_campanile'][zoom >= 16],
[feature = 'building_shrine'][zoom >= 16],
[feature = 'building_synagogue'][zoom >= 16],
[feature = 'building_temple'][zoom >= 16],
[feature = 'building_mosque'][zoom >= 16],
[feature = 'building_church'][zoom >= 16],
[feature = 'building_chapel'][zoom >= 16],
[feature = 'building_cathedral'][zoom >= 16],
[feature = 'amenity_place_of_worship'][zoom >= 16] {
marker-file: url('symbols/place_of_worship.16.svg');
[feature = 'man_made_campanile'] {
marker-file: url('symbols/christian.9.svg');
}
marker-fill: #000000;
marker-placement: interior;
marker-clip: false;
[feature = 'building_chapel'],
[feature = 'building_church'],
[feature = 'building_cathedral'],
[religion = 'christian'] {
marker-file: url('symbols/christian.16.svg');
[denomination = 'jehovahs_witness']{
marker-file: url('symbols/place_of_worship.16.svg');
}
}
[feature = 'building_mosque'],
[religion = 'muslim'] {
marker-file: url('symbols/muslim.16.svg');
}
[religion = 'sikh'] {
marker-file: url('symbols/sikhist.16.svg');
}
[feature = 'building_synagogue'],
[religion = 'jewish'] {
marker-file: url('symbols/jewish.16.svg');
}
Expand Down Expand Up @@ -1275,7 +1291,15 @@
text-placement: interior;
}

[feature = 'amenity_place_of_worship'][zoom >= 17] {
[feature = 'man_made_campanile'][zoom >= 16],
[feature = 'building_shrine'][zoom >= 16],
[feature = 'building_synagogue'][zoom >= 16],
[feature = 'building_temple'][zoom >= 16],
[feature = 'building_mosque'][zoom >= 16],
[feature = 'building_church'][zoom >= 16],
[feature = 'building_chapel'][zoom >= 16],
[feature = 'building_cathedral'][zoom >= 16],
[feature = 'amenity_place_of_worship'][zoom >= 16] {
text-name: "[name]";
text-size: @standard-text-size;
text-fill: #000033;
Expand Down Expand Up @@ -2223,4 +2247,3 @@
}
}
}

9 changes: 8 additions & 1 deletion buildings.mss
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,17 @@
line-color: @building-aeroway-line;
}
}
[building = 'cathedral'],
[building = 'chapel'],
[building = 'church'],
[building = 'mosque'],
[building = 'temple'],
[building = 'synagogue'],
[building = 'shrine'],
[amenity = 'place_of_worship'] {
polygon-fill: @building-major-fill;
polygon-clip: false;
[zoom >= 15] {
[zoom >= 14] {
line-width: .75;
line-clip: false;
line-color: @building-major-line;
Expand Down
8 changes: 8 additions & 0 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@
}
}

[feature = 'man_made_campanile'][zoom >= 13],
[feature = 'building_shrine'][zoom >= 13],
[feature = 'building_synagogue'][zoom >= 13],
[feature = 'building_temple'][zoom >= 13],
[feature = 'building_mosque'][zoom >= 13],
[feature = 'building_church'][zoom >= 13],
[feature = 'building_chapel'][zoom >= 13],
[feature = 'building_cathedral'][zoom >= 13],
[feature = 'amenity_place_of_worship'][zoom >= 13] {
polygon-fill: @place_of_worship;
polygon-clip: false;
Expand Down
Loading

0 comments on commit 5666bf2

Please sign in to comment.