Merge pull request #10523 from openstreetmap/kh/10522-mismatched-geom

This commit is contained in:
Martin Raifer
2024-12-11 15:12:28 +01:00
committed by GitHub
2 changed files with 23 additions and 1 deletions
@@ -34,6 +34,12 @@ export function validationMismatchedGeometry() {
return null;
}
if (asLine.isFallback() && asArea.isFallback() && !deepEqual(tagSuggestingArea, { area: 'yes' })) {
// if the entity matches the fallback preset, regardless of the
// geometry, then changing the geometry will not help.
return null;
}
return tagSuggestingArea;
}