- Timestamp:
- 2016-11-25T01:00:47+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r11209 r11305 5 5 /* {0.key} without {1.key} (warning level) */ 6 6 way[junction ][!highway][junction!=yes], 7 *[lanes ][!highway], 8 *[living_street ][!highway], 9 *[maintenance ][!highway], 10 *[median ][!highway], 11 *[motorroad ][!highway], 12 *[ntd_id ][!highway], 13 *[sac_scale ][!highway], 14 *[sidewalk ][!highway], 15 *[step_count ][!highway], 16 *[tracktype ][!highway], 17 *[trail_visibility ][!highway], 18 *[trolley_wire ][!highway], 19 *[zip_left ][!highway], 20 *[zip_right ][!highway], 21 *[detail ][!railway][route!=railway], 22 *[eddy_current_brake ][!railway][route!=railway], 23 *[electrified ][!railway][route!=railway], 24 *[etcs ][!railway][route!=railway], 25 *[gauge ][!railway][route!=railway], 26 *[grade_of_track ][!railway][route!=railway], 27 *[kursbuchstrecke ][!railway][route!=railway], 28 *[lzb ][!railway][route!=railway], 29 *[old_railway_operator ][!railway][route!=railway], 30 *[operating_procedure ][!railway][route!=railway], 31 *[pzb ][!railway][route!=railway], 32 *[radio ][!railway][route!=railway], 33 *[structure_gauge ][!railway][route!=railway], 34 *[tilting_technology ][!railway][route!=railway], 35 *[track_class ][!railway][route!=railway], 36 *[tracks ][!railway][route!=railway], 37 *[traffic_mode ][!railway][route!=railway], 38 *[usage ][!railway][route!=railway][man_made!=pipeline], 39 *[workrules ][!railway][route!=railway], 40 *[stream ][!waterway], 41 *[length_unit ][!waterway], 42 *[llid ][!waterway], 43 *[canal ][!waterway], 44 *[have_riverbank ][!waterway], 7 way[lanes ][!highway], 8 way[living_street ][!highway], 9 way[maintenance ][!highway], 10 way[median ][!highway], 11 way[motorroad ][!highway], 12 node[ntd_id ][!highway], 13 way[sac_scale ][!highway], 14 way[sidewalk ][!highway], 15 way[step_count ][!highway], 16 way[tracktype ][!highway], 17 way[trail_visibility ][!highway], 18 way[trolley_wire ][!highway], 19 way[zip_left ][!highway], 20 way[zip_right ][!highway], 21 way[detail ][!railway][route!=railway], 22 way[eddy_current_brake ][!railway][route!=railway], 23 way[electrified ][!railway][route!=railway], 24 way[etcs ][!railway][route!=railway], 25 way[gauge ][!railway][route!=railway], 26 way[grade_of_track ][!railway][route!=railway], 27 way[kursbuchstrecke ][!railway][route!=railway], 28 way[lzb ][!railway][route!=railway], 29 way[old_railway_operator ][!railway][route!=railway], 30 way[operating_procedure ][!railway][route!=railway], 31 way[pzb ][!railway][route!=railway], 32 way[structure_gauge ][!railway][route!=railway], 33 way[tilting_technology ][!railway][route!=railway], 34 way[track_class ][!railway][route!=railway], 35 way[tracks ][!railway][route!=railway], 36 way[traffic_mode ][!railway][route!=railway], 37 way[usage ][!railway][route!=railway][man_made!=pipeline], 38 way[workrules ][!railway][route!=railway], 39 way[stream ][!waterway], 40 way[length_unit ][!waterway], 41 way[canal ][!waterway], 42 way[have_riverbank ][!waterway], 45 43 *[border_type ][!boundary], 46 *[bridge:structure][!bridge],44 way[bridge:structure ][!bridge], 47 45 *[piste:difficulty ][!piste:type], 48 46 *[source:date ][!source], … … 85 83 86 84 /* {0.key} without {1.key} (info level) */ 87 *[lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1],88 *[lanes:backward][!lanes:forward][oneway!=yes][oneway!=-1],85 way[lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1], 86 way[lanes:backward][!lanes:forward][oneway!=yes][oneway!=-1], 89 87 *[leaf_type ][!leaf_cycle], 90 88 *[leaf_cycle][!leaf_type] { … … 95 93 /* {0.key} without {1.tag} */ 96 94 *[transformer ][!power], 97 *[fence_type][barrier!=fence],95 way[fence_type ][barrier!=fence], 98 96 *[recycling_type ][amenity!=recycling], 99 97 *[information ][tourism!=information], 100 *[board_type][information!=board],98 node[board_type ][information!=board], 101 99 *[shelter_type ][amenity!=shelter], 102 *[lamp_type][highway!=street_lamp],103 *[map_type][information!=map],100 node[lamp_type ][highway!=street_lamp], 101 node[map_type ][information!=map], 104 102 *[site_type ][historic!=archaeological_site], 105 103 *[artwork_type ][tourism!=artwork], … … 107 105 *[bridge:movable ][bridge!=movable], 108 106 *[parking ][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/], 109 *[cutline][man_made!=cutline],107 way[cutline ][man_made!=cutline], 110 108 *[bunker_type ][military!=bunker] { 111 109 throwWarning: tr("{0} without {1}", "{0.key}", "{1.tag}"); … … 175 173 176 174 /* {0.tag} without {1.tag} (info level) see #11600 #11393 #11850 */ 177 *[highway=motorway][!oneway][junction!=roundabout],178 *[highway=motorway_link][!oneway][junction!=roundabout] {175 way[highway=motorway][!oneway][junction!=roundabout], 176 way[highway=motorway_link][!oneway][junction!=roundabout] { 179 177 throwOther: tr("{0} without {1}", "{0.tag}", "{1.tag}"); 180 178 group: tr("missing tag"); … … 201 199 202 200 /* {0.key} without {1.key}, {2.key} or {3.tag} */ 203 *[incline][!highway][!railway][aeroway!~/^(runway|taxiway)$/],201 way[incline ][!highway][!railway][aeroway!~/^(runway|taxiway)$/], 204 202 *[toll ][!highway][!barrier][route!~/^(ferry|road)$/] { 205 203 throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.key}", "{3.tag}"); … … 223 221 224 222 /* {0.tag} together with {1.tag} (info level), see #9696 */ 225 *[highway=footway][oneway=no] {223 way[highway=footway][oneway=no] { 226 224 throwOther: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 227 225 group: tr("suspicious tag combination"); … … 229 227 230 228 /* {0.tag} together with {1.tag}, see #10186 */ 231 *[highway=footway][bicycle=designated] {229 way[highway=footway][bicycle=designated] { 232 230 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 233 231 group: tr("suspicious tag combination"); … … 296 294 297 295 /* #9195 */ 298 *[highway=footway][cycleway=lane] {296 way[highway=footway][cycleway=lane] { 299 297 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 300 298 suggestAlternative: "highway=path + foot=designated + bicycle=designated + segregated=yes";
Note:
See TracChangeset
for help on using the changeset viewer.