Changeset 15268 in josm
- Timestamp:
- 2019-08-01T21:17:11+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r15267 r15268 2 2 * Taginfo query: select keypairs.key1, keypairs.key2, keypairs.count_all, keys.count_all, cast(keypairs.count_all as real)/keys.count_all as from_fraction_all from keys, keypairs where key1='waterway' and keys.key=keypairs.key2 and (key1<>'highway' or keypairs.count_all>12000) and (key1<>'railway' or keypairs.count_all>3000) and (key1<>'waterway' or keypairs.count_all>800) and key2 not like '%:%' and from_fraction_all>0.97 and 1 union select keypairs.key2, keypairs.key1, keypairs.count_all, keys.count_all, cast(keypairs.count_all as real)/keys.count_all as from_fraction_all from keys, keypairs where key2='waterway' and keys.key=keypairs.key1 and (key2<>'highway' or keypairs.count_all>12000) and (key2<>'railway' or keypairs.count_all>3000) and (key2<>'waterway' or keypairs.count_all>800) and key1 not like '%:%' and from_fraction_all>0.97 and 1 order by keypairs.count_all desc limit 1000; 3 3 */ 4 5 way[surface=~/^(unpaved|compacted|gravel|fine_gravel|pebblestone|ground|earth|dirt|grass|sand|mud|ice|salt|snow|woodchips)$/] { /* without grass_paver as it is controversial */ 6 set unpaved_surface; 7 } 4 8 5 9 /* {0.key} without {1.key} (warning level) */ … … 257 261 /* {0.tag} together with {1.tag}, see #17623, #17592, #17594, #17542, #16861, #16147, #10186 */ 258 262 way[junction=yes][highway], 259 way[tracktype=grade1][surface] [surface=~/^(unpaved|compacted|gravel|fine_gravel|pebblestone|ground|earth|dirt|grass|sand|mud|ice|salt|snow|woodchips)$/],263 way[tracktype=grade1][surface].unpaved_surface, 260 264 way[tracktype=grade2][surface][surface=~/^(sand|mud)$/], 261 265 way[segregated][bicycle=no], … … 603 607 fixRemove: "cycleway"; 604 608 } 609 610 /* #17973 */ 611 way[highway=path ][foot][foot!=no ][!segregated][bicycle][bicycle!=no]!.unpaved_surface, 612 way[highway=footway ][bicycle][bicycle!=no][!segregated]!.unpaved_surface, 613 way[highway=cycleway][foot][foot!=no ][!segregated]!.unpaved_surface { 614 throwWarning: tr("Combined foot- and cycleway without {1}.", "{3.key}"); 615 group: tr("missing tag"); 616 }
Note:
See TracChangeset
for help on using the changeset viewer.