| | 90 | |
| | 91 | /* When downloading MapSwipe results (HOT Tasking Manager Geometries) sometimes there are overlaping tasks. The next two rules will flag those. */ |
| | 92 | /* Overlaping MapSwipe tasks */ |
| | 93 | area[group_id][group_id!~/no|entrance/] ⧉ area[group_id:part][group_id:part!~/no|entrance/], |
| | 94 | area[group_id][group_id!~/no|entrance/] ⧉ area[group_id][group_id!~/no|entrance/] { |
| | 95 | throwError: tr("Overlapping tasks"); |
| | 96 | group: tr("HOT TM Validator Checker"); |
| | 97 | } |
| | 98 | |
| | 99 | /* Task inside another task */ |
| | 100 | *[group_id][group_id!~/no|entrance/][any(tag("layer"),"0") = any(parent_tag("layer"),"0")] ∈ |
| | 101 | area[group_id][group_id!~/no|entrance/] { |
| | 102 | throwError: tr("Task inside another task"); |
| | 103 | group: tr("HOT TM Validator Checker"); |
| | 104 | } |