mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
Don't flag unclosed parts of multipolygons with undownloaded members (re: #2223)
This commit is contained in:
@@ -227,7 +227,11 @@ export function validationMismatchedGeometry(context) {
|
||||
|
||||
function unclosedMultipolygonPartIssues(entity, graph) {
|
||||
|
||||
if (entity.type !== 'relation' || !entity.isMultipolygon() || entity.isDegenerate()) return null;
|
||||
if (entity.type !== 'relation' ||
|
||||
!entity.isMultipolygon() ||
|
||||
entity.isDegenerate() ||
|
||||
// cannot determine issues for incompletely-downloaded relations
|
||||
!entity.isComplete(graph)) return null;
|
||||
|
||||
var sequences = osmJoinWays(entity.members, graph);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user