Changeset 7744 in josm
- Timestamp:
- 2014-11-24T15:36:37+01:00 (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/geometry.mapcss
r7737 r7744 37 37 node[source:outline] { 38 38 throwWarning: tr("{0} on a node. Should be drawn as an area.", "{0.tag}"); 39 } 40 41 /* {0} on a node, should be a relation; see #10252, #10769 */ 42 node[route], 43 node[restriction] { 44 throwWarning: tr("{0}=* on a node. Should be used in a relation", "{0.key}"); 45 } 46 47 /* {0} on a way, should be a relation; see #10252 */ 48 way[route=bus] { 49 throwWarning: tr("{0} on a way. Should be used in a relation", "{0.tag}"); 39 50 } 40 51 … … 96 107 throwWarning: tr("{0} inside {1}", concat("power=", tag("power")), concat("power=", tag("power"))); 97 108 } 98 99 /* see #10252 */100 way[route=bus] {101 throwWarning: tr("{0} on a way. Should be used in a relation", "{0.tag}");102 }103 node[route] {104 throwWarning: tr("{0}=* on a node. Should be used in a relation", "{0.key}");105 } -
trunk/styles/standard/elemstyles.mapcss
r7740 r7744 43 43 /*********************/ 44 44 45 relation[restriction=no_left_turn], 46 node[restriction=no_left_turn] { 45 relation[restriction=no_left_turn] { 47 46 icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png"; 48 47 set icon_z17; 49 48 text: auto; 50 49 } 51 relation[restriction=no_right_turn], 52 node[restriction=no_right_turn] { 50 relation[restriction=no_right_turn] { 53 51 icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png"; 54 52 set icon_z17; 55 53 text: auto; 56 54 } 57 relation[restriction=no_straight_on], 58 node[restriction=no_straight_on] { 55 relation[restriction=no_straight_on] { 59 56 icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png"; 60 57 set icon_z17; 61 58 text: auto; 62 59 } 63 relation[restriction=no_u_turn], 64 node[restriction=no_u_turn] { 60 relation[restriction=no_u_turn] { 65 61 icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png"; 66 62 set icon_z17; 67 63 text: auto; 68 64 } 69 relation[restriction=only_left_turn], 70 node[restriction=only_left_turn] { 65 relation[restriction=only_left_turn] { 71 66 icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png"; 72 67 set icon_z17; 73 68 text: auto; 74 69 } 75 relation[restriction=only_right_turn], 76 node[restriction=only_right_turn] { 70 relation[restriction=only_right_turn] { 77 71 icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png"; 78 72 set icon_z17; 79 73 text: auto; 80 74 } 81 relation[restriction=only_straight_on], 82 node[restriction=only_straight_on] { 75 relation[restriction=only_straight_on] { 83 76 icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png"; 77 set icon_z17; 78 text: auto; 79 } 80 node[restriction] { 81 icon-image: "misc/deprecated.png"; 84 82 set icon_z17; 85 83 text: auto;
Note:
See TracChangeset
for help on using the changeset viewer.