Changes between Version 6 and Version 7 of Styles/DiscGolfCourse
- Timestamp:
- 2024-03-20T09:04:33+01:00 (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/DiscGolfCourse
v6 v7 5 5 I made this style to simplify tagging of disc golf courses in JOSM. With this style, mapping tees, baskets, holes, and other elements of a disc golf course become more intuitive and efficient. The clear visual representation and use of symbols and colors hopefully makes mapping easier. 6 6 7 [[Image(example.png)]] 8 7 9 The style tries to catch common mapping pitfalls as found on https://wiki.openstreetmap.org/wiki/Tag:leisure%3Ddisc_golf_course 8 10 9 11 - Using disc_golf=pin instead of disc_golf=basket. 12 - Using golf=* anywhere on a disc golf course 10 13 - Using ref=* somewhere else than on hole. 11 14 - Using name=* on every hole instad or additionally to ref=* to force a rendering. (https://wiki.openstreetmap.org/wiki/Tagging_for_the_renderer) 12 15 - Using landuse=* or natural=* to indicate its surface. Use surface=* instead. 16 17 === User Settings === 18 19 The check if golf=* is used can be deactivated through the mappaint settings (ALT-SHIFT-M and in the sidebar right-click on the style) 13 20 14 21 === Suggestions possible at === … … 42 49 /* ------------------------------------------------------------------------------------------------------------------------ */ 43 50 51 /**********************************************/ 52 /* Create mappaint user settings */ 53 /**********************************************/ 54 55 setting::using_golf { 56 type: boolean; 57 label: tr("Check if golf=* is used at all"); 58 default: true; 59 } 44 60 45 61 /**********************************************/ … … 140 156 141 157 /* ************** Catch everything tagged with golf=* */ 142 *[golf] {158 *[golf][setting("using_golf")]{ 143 159 color: purple; 144 160 width: 30;