Version 3 (modified by 6 months ago) ( diff ) | ,
---|
Disc Golf Course
Description
I made this style to simplify tagging of disc golf courses in JOSM. With this style, mapping tees, baskets, holes, and ohter elements of a disc gold course become more intuitive and efficient. The clear visual representation and use of symbols and colors hopefully makes mapping easier.
Suggestions possible at:
- https://community.openstreetmap.org/t/custom-map-style-for-josm-for-disc-golf-course/110688
- https://matrix.to/#/#osm-at:matrix.org
- https://www.openstreetmap.org/user/Negreheb
Code
meta { title: "Disc Golf Course"; version: "0.8_2024-03-21"; description: "Colouring and icons for a Disc Golf Course to make mapping it easier."; icon: "DiscGolfCourseIcon.svg"; author: "Negreheb"; link: "https://josm.openstreetmap.de/wiki/Styles/DiscGolfCourse"; } meta[lang=de] { title: "Disc Golf Course"; description: "Einfärbungen und Symbole für einen Disc-Golf-Kurs, um die Zuordnung zu erleichtern."; link: "https://josm.openstreetmap.de/wiki/De:Styles/DiscGolfCourse"; } /* ------------------------------------------------------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------------------------------------------------------ */ /**********************************************/ /* General setting */ /**********************************************/ node[disc_golf=tee]{ icon-image: "tee.svg"; icon-width: 75; icon-offset-x: 10; symbol-stroke-color: #FFC800; text: auto; } node[disc_golf=basket]{ icon-image: "basket2.svg"; icon-width: 50; icon-offset-y: -28; icon-offset-x: 1; text: auto; } way[disc_golf=hole]{ text: "ref"; font-size: 20; /*text-offset: 9; */ width: 30; opacity: 0.4; /*casing-color: #808080;*/ z-index: 110; left-casing-color:black; left-casing-width:2; left-casing-dashes:0; left-casing-opacity:0; right-casing-color:black; right-casing-width:2; right-casing-opacity:0; right-casing-dashes:0; } node[disc_golf=drop_zone]{ text: eval("DZ"); text-color: orange; font-size: 10; casing-width: 10; /*symbol-size: 20; symbol-shape: circle; symbol-fill-color: orange; symbol-fill-opacity: 0.5;*/ } node[disc_golf=mando]{ text: eval("Mando"); text-color: red; font-weight: bold; font-size: 10; symbol-size: 20; symbol-shape: triangle; symbol-fill-color: red; symbol-fill-opacity: 0.5; } area[disc_golf=out_of_bounds]{ fill-color: red; text: eval("OB"); font-size: 15; font-weight: bold; text-color: red; text-halo-color: black; }
Styles_DiscGolfCourse-style.mapcss, Styles_DiscGolfCourse.zip
Attachments (4)
-
basket2.svg
(5.2 KB
) - added by 6 months ago.
Basket
-
tee.svg
(1.3 KB
) - added by 6 months ago.
Tee
- DiscGolfCourse.svg (1.2 KB ) - added by 6 months ago.
- example.png (288.1 KB ) - added by 6 months ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.