Index: drc_query.conf =================================================================== --- drc_query.conf (revision 34210) +++ drc_query.conf (revision 34211) @@ -142,6 +142,16 @@ } } + ha:invalid_polygons { + type = polygon + title = Invalid polygon + desc = Polygon contour is invalid, most probably self intersecting + query = { +rule invalidpoly +assert @.type == POLYGON && !poly_is_valid(@) + } + } + } } }