Changes between Version 23 and Version 24 of Rules/QAToolInspiredValidations


Ignore:
Timestamp:
2019-04-03T15:27:47+02:00 (7 years ago)
Author:
mzagorski
Comment:

Milla Zagorski added checks for Osmose item 1070 Class 2 and Osmose item 3120.

Legend:

Unmodified
Added
Removed
Modified
  • Rules/QAToolInspiredValidations

    v23 v24  
    66  version: "[[revision]]_[[date]]";
    77  description: "Checks for errors based on Osmose tag checks";
    8   author: "Dave Manzer";
     8  author: "Dave Manzer & Milla Zagorski";
    99  watch-modified: true;
    1010  link: "https://wiki.openstreetmap.org/wiki/Osmose/issues";
     
    6969}
    7070
    71  /* Bad link highway -- OSMOSE Item 1110 */
     71/* Objects Overlap -- OSMOSE item 1070 - Class 2 */
     72node[natural=tree] ∈ area[building] {
     73  throwWarning: tr("1070/2: Tree inside {0}", "{0.key}");
     74  group: "OSMOSE";
     75}
     76
     77/* Tree type -- OSMOSE item 3120 */
     78node[natural=tree][!type] {
     79  throwOther: tr("3120: {0} without {1} tag", "{0.tag}", "{1.key}");
     80  group: "OSMOSE";
     81}
     82
     83/* Tree species -- OSMOSE item 3120 */
     84node[natural=tree][!/^species:/] {
     85  throwOther: tr("3120: {0} without species tag", "{0.tag}");
     86  group: "OSMOSE";
     87}
     88
     89/* Bad link highway -- OSMOSE Item 1110 */
    7290
    7391way[highway*="_link"][highway!~/^(motorway_link|trunk_link)$/][eval(waylength()) > 1000] {