mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Ignore nodes on address lines for the mismatched geometry validation
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user