Skip to content

Commit

Permalink
Adding muslim cemetary symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl committed Aug 9, 2017
1 parent c604e4b commit d622624
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
2 changes: 2 additions & 0 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,11 @@
[zoom >= 14] {
[religion = 'jewish'] { polygon-pattern-file: url('symbols/grave_yard_jewish.png'); }
[religion = 'christian'] { polygon-pattern-file: url('symbols/grave_yard_christian.png'); }
[religion = 'muslim'] { polygon-pattern-file: url('symbols/grave_yard_muslim.svg'); }
[religion = 'INT-generic'] { polygon-pattern-file: url('symbols/grave_yard_generic.png'); }
[religion = 'jewish'],
[religion = 'christian'],
[religion = 'muslim'],
[religion = 'INT-generic'] {
[way_pixels >= 4] { polygon-pattern-gamma: 0.75; }
[way_pixels >= 64] { polygon-pattern-gamma: 0.3; }
Expand Down
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Layer:
('tourism_' || (CASE WHEN tourism IN ('attraction', 'camp_site', 'caravan_site', 'picnic_site') THEN tourism ELSE NULL END)) AS tourism,
('highway_' || (CASE WHEN highway IN ('services', 'rest_area') THEN highway ELSE NULL END)) AS highway,
('railway_' || (CASE WHEN railway = 'station' THEN railway ELSE NULL END)) AS railway,
CASE WHEN religion IN ('christian', 'jewish') THEN religion ELSE 'INT-generic'::text END AS religion,
CASE WHEN religion IN ('christian', 'jewish', 'muslim') THEN religion ELSE 'INT-generic'::text END AS religion,
way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels
FROM planet_osm_polygon
WHERE (landuse IS NOT NULL
Expand Down
38 changes: 38 additions & 0 deletions symbols/grave_yard_muslim.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d622624

Please sign in to comment.