Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Added rendering of tag tourism=wilderness_hut**
Browse files Browse the repository at this point in the history
Latest changes:

- Rebased so that it can be easily reviewed/merged

- Newly rebased to master

Previous changes:

- further revised icon

___________

- Revised wilderness_hut.svg substituting lines & strokes to paths in order to avoid marker-line-color which is not supported in old versions of Mapnik
- Removed fill color from  wilderness_hut.svg so that the color is done in amenity-points.mss
- Newline at the end of wilderness_hut.svg
- Tab removed from amenity-points.mss
- Set min zoom for text to z14 (same as tourism=alpine_hut)
- Rebased

___________

- Rebase to master
- Removed usage of shelter_type which can be reintroduced when hstore is available
- Removed basic_hut.svg to be used with shelter_type
- Added specific symbol for wilderness_hut vs. generic amenity=shelter.

___________

To summarize, the following different kind of huts have specific symbols now:

- amenity=shelter (only shown at zoom >=16)
- tourism=alpine_hut  (not modified within this drop)
- tourism=wilderness_hut (zoom>=13)

alpine_hut: symbols/alpinehut.p.16.png
wilderness_hut: symbols/wilderness_hut.svg
generic shelter: symbols/shelter-14.svg
Ircama committed Sep 25, 2016
1 parent be4fea5 commit 820de3c
Showing 4 changed files with 27 additions and 13 deletions.
8 changes: 7 additions & 1 deletion amenity-points.mss
Original file line number Diff line number Diff line change
@@ -29,8 +29,14 @@
point-placement: interior;
}

[feature = 'tourism_wilderness_hut'][zoom >= 13],
[feature = 'amenity_shelter'][zoom >= 16] {
marker-file: url('symbols/shelter-14.svg');
[feature = 'tourism_wilderness_hut'] {
marker-file: url('symbols/wilderness_hut.svg');
marker-width: 14;
marker-height: 13;
}
marker-fill: @transportation-icon;
marker-placement: interior;
marker-clip: false;
@@ -1741,6 +1747,7 @@
[feature = 'tourism_hostel'][zoom >= 17],
[feature = 'tourism_chalet'][zoom >= 17],
[feature = 'tourism_guest_house'][zoom >= 17],
[feature = 'tourism_wilderness_hut'][zoom >= 14],
[feature = 'tourism_camp_site'][zoom >= 17] {
text-name: "[name]";
text-size: @standard-text-size;
@@ -2256,4 +2263,3 @@
}
}
}

Loading

0 comments on commit 820de3c

Please sign in to comment.