Ticket #16898: josm_16898.patch
File josm_16898.patch, 1.7 KB (added by , 5 years ago) |
---|
-
src/org/openstreetmap/josm/resources/data/validator/combinations.mapcss
123 123 group: tr("missing tag"); 124 124 } 125 125 126 /* {0.tag} without {1.key} (warning level), #18411, #18246 */126 /* {0.tag} without {1.key} (warning level), #18411, #18246, #16898 */ 127 127 way[railway=construction][!construction], 128 128 way[highway=construction][!construction], 129 129 node[traffic_sign=maxspeed][!maxspeed], … … 143 143 *[office=government][!government], 144 144 *[power=generator][!generator:source], 145 145 *[amenity=social_facility][!social_facility], 146 *[amenity=place_of_worship][!religion] { 146 *[amenity=place_of_worship][!religion], 147 *[man_made=tower][!tower:type] { 147 148 throwWarning: tr("{0} without {1}", "{0.tag}", "{1.key}"); 148 149 group: tr("missing tag"); 149 150 } … … 694 695 throwWarning: tr("{0} without {1} or {2}", "{0.key}", "maxspeed", "maxspeed:*"); 695 696 group: tr("missing tag"); 696 697 } 698 No newline at end of file 699 700 /* tower vs. communications_tower, #16898 */ 701 *[man_made=tower][tower:type=communication][material=concrete][height >= 100] { 702 throwWarning: tr("{0} together with {1}, {2} and {3} equal or greater 100. Consider using man_made=communications_tower instead", "{0.tag}", "{1.tag}", "{2.tag}", "{3.key}"); 703 group: tr("suspicious tag combination"); 704 } 705 *[man_made=communications_tower][height < 100] { 706 throwWarning: tr("{0} and {1} below 100. Consider using man_made=tower with tower:type=communication instead", "{0.tag}", "{1.key}"); 707 group: tr("suspicious tag combination");