Changes between Version 24 and Version 25 of Rules/ValidatingBuildingsInHOTTMProjects


Ignore:
Timestamp:
2025-09-26T15:29:38+02:00 (3 months ago)
Author:
Patrik_B
Comment:

added checking overlaping MapSwipe tasks

Legend:

Unmodified
Added
Removed
Modified
  • Rules/ValidatingBuildingsInHOTTMProjects

    v24 v25  
    8888  group: tr("HOT TM Validator Checker");
    8989}
     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 */
     93area[group_id][group_id!~/no|entrance/] ⧉ area[group_id:part][group_id:part!~/no|entrance/],
     94area[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")] ∈
     101area[group_id][group_id!~/no|entrance/] {
     102  throwError: tr("Task inside another task");
     103    group: tr("HOT TM Validator Checker");
     104}
    90105}}}