Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Styles/JP-Desaster
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
Try to help people tagging current Japan desaster.[[BR]] This needs a patch #6122 for text rendering, but also works with unpatched josm. {{{ #!style type="mapcss" meta { title: "Japan Impassable Ways"; description: "Dash out ways tagged with barriers, visualize practicability=*"; version: "1.[[revision]]_[[date]]"; author: "cmuelle8"; watch-modified: true; link: "https://josm.openstreetmap.de/wiki/Styles/JP-Desaster"; } node[barrier=yes] { text: "障害物"; } way[JOSM_search("practicability")] { font-size: 12; text-offset: 10; } way[JOSM_search("practicability|barrier=yes|*=flood")], way[JOSM_search("*=impassable")], way[impassable=yes], way[practicability=no], node[barrier?] < way { color: #FF8080; dashes: list(2,7); casing-width: +3; casing-color: #FF2020; casing-dashes: eval(prop(dashes)); text: "通行不可"; z-index: 1.0; } way[practicability:foot=yes], way[practicability:foot=only], way[practicability:motor_vehicle=no] { casing-color: #20FF20; text: "FOOT ONLY"; } way[practicability:bicycle=yes], way[practicability:bicycle=only], way[practicability:motorbike=yes], way[practicability:motorbike=only] { casing-color: #20FFFF; text: "BIKE or MOTORBIKE"; } way["practicability:4wd"=yes], way["practicability:4wd"=only], way[practicability:motorcar=yes], way[practicability:motorcar=only], way[practicability:motor_vehicle=yes], way[practicability:motor_vehicle=only] { color: black; dashes: none; casing-color: #EEEEEE; casing-dashes: list(4,5); text: "通行可 4WD < 3.5T"; } way[practicability:goods=yes], way[practicability:goods=only] { color: black; dashes: none; casing-color: #999999; casing-dashes: list(8,1); text: "通行可 GOODS < 10T"; } way[practicability:hgv=yes], way[practicability:hgv=only] { color: black; dashes: none; casing-color: #B0FFFF; casing-dashes: none; text: "通行可 HGV < 20T"; } way[practicability:lory=yes], way[practicability:lory=only] { width: 2; color: black; dashes: none; casing-width: +5; casing-color: #FFFFFF; casing-dashes: none; text: "通行可 LORY > 20T"; } way { text-color: eval(prop(casing-color)); } }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.