Changeset 14918 in josm
- Timestamp:
- 2019-03-23T15:28:23+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/unnecessary.mapcss
r14911 r14918 1 1 *[access][highway=proposed], 2 *[motor_vehicle?][ vehicle!=no][access!=no][bicycle_road!=yes][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|service|living_street)$/],2 *[motor_vehicle?][!vehicle][!access][bicycle_road!=yes][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|service|living_street)$/], 3 3 *[bridge=no], 4 4 *[building=no], … … 12 12 assertMatch: "way bridge=no"; 13 13 assertMatch: "way highway=proposed access=no"; 14 assertMatch: "way highway=motorway motor_vehicle=yes"; 15 assertNoMatch: "way highway=motorway access=no motor_vehicle=yes"; 14 16 } 15 17 … … 36 38 37 39 /* #9257, #17482 */ 38 way[foot =~ /^(yes|designated)$/][highway =~ /^(footway|pedestrian)$/], 39 way[bicycle =~ /^(yes|designated)$/][highway=cycleway], 40 way[foot =~ /^(yes|designated)$/][!access][highway =~ /^(footway|pedestrian)$/], 41 way[bicycle =~ /^(yes|designated)$/][!vehicle][!access][highway=cycleway], 40 42 *[building:ruian:type=2][building=farm_auxiliary], 41 43 *[building:ruian:type=7][building=house], … … 48 50 group: tr("unnecessary tag"); 49 51 fixRemove: "{0.key}"; 52 assertMatch: "way highway=pedestrian foot=designated"; 53 assertNoMatch: "way highway=pedestrian access=no foot=designated"; 50 54 } 51 55
Note:
See TracChangeset
for help on using the changeset viewer.