| | 1 | Michael Andersen@HOT ML made a mapcss style for JOSM. |
| | 2 | |
| | 3 | It can distinguish damaged/collapsed buildings. (damaged=green, collapsed=red) |
| | 4 | |
| | 5 | {{{ |
| | 6 | meta |
| | 7 | { |
| | 8 | title: "Collapsed/damaged buildings"; |
| | 9 | author: "Hjart"; |
| | 10 | version: "0.1_2013-11-13"; |
| | 11 | description: "Style to classify buildings"; |
| | 12 | link: ; |
| | 13 | watch-modified: true; |
| | 14 | } |
| | 15 | |
| | 16 | area[building=collapsed] |
| | 17 | { |
| | 18 | text: "collapsed"; |
| | 19 | text-color: black; |
| | 20 | dashes: 20,4; |
| | 21 | font-size: 10; |
| | 22 | z-index: 1; |
| | 23 | color: #FF2238; |
| | 24 | fill-color: #FF2238; |
| | 25 | width: 3; |
| | 26 | } |
| | 27 | |
| | 28 | area[building=damaged] |
| | 29 | { |
| | 30 | text: "damaged"; |
| | 31 | text-color: black; |
| | 32 | font-size: 10; |
| | 33 | z-index: 1; |
| | 34 | color: #F5FF3B; |
| | 35 | fill-color: #F5FF3B; |
| | 36 | width: 3; |
| | 37 | dashes: 20,4; |
| | 38 | } |
| | 39 | |
| | 40 | area[typhoon:reviewed=yes] |
| | 41 | { |
| | 42 | text: "damaged"; |
| | 43 | text-color: black; |
| | 44 | font-size: 10; |
| | 45 | z-index: 1; |
| | 46 | color: #3CED28; |
| | 47 | fill-color: #3CED28; |
| | 48 | width: 3; |
| | 49 | } |
| | 50 | |
| | 51 | area[typhoon:reviewed=cloud] |
| | 52 | { |
| | 53 | text: "damaged"; |
| | 54 | text-color: black; |
| | 55 | font-size: 10; |
| | 56 | z-index: 1; |
| | 57 | color: #3CED28; |
| | 58 | fill-color: #3CED28; |
| | 59 | width: 3; |
| | 60 | dashes: 10,10; |
| | 61 | } |
| | 62 | }}} |
| | 63 | |
| | 64 | If you have any question, please contact to HOT MailingList. |