From c43fac8d640808baccca059746fd1188cd1c936f Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Mon, 7 Dec 2020 09:46:37 -0500 Subject: [PATCH] Ignore nodes on address lines for the mismatched geometry validation --- modules/validations/mismatched_geometry.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/validations/mismatched_geometry.js b/modules/validations/mismatched_geometry.js index 5f7c5a5f7..554c1e438 100644 --- a/modules/validations/mismatched_geometry.js +++ b/modules/validations/mismatched_geometry.js @@ -211,6 +211,9 @@ export function validationMismatchedGeometry() { if (entity.type !== 'node' && entity.type !== 'way') return null; + // address lines are special so just ignore them + if (entity.type === 'node' && entity.isOnAddressLine(graph)) return null; + var sourceGeom = entity.geometry(graph); var targetGeoms = entity.type === 'way' ? ['point', 'vertex'] : ['line', 'area'];