Skip to content

Conversation

@ak8abhinay
Copy link

This PR modifies the crossing_ways validation logic to prevent the iD Editor from suggesting "Tag as higher" or "Tag as lower" (which adds layer=*) when two building features overlap.

The Problem Currently, mappers often use the "Quick Fix" layer buttons to silence validation warnings for overlapping buildings. This creates "layer soup"—data where buildings are incorrectly marked as floating in the air. Per community best practices and my recommendation [2026-01-15], buildings should stay on layer=0. If they are physically stacked, the level tag is the correct way to map them.

The Fix

Logic: Updated modules/validations/crossing_ways.js to identify building-on-building overlaps and suppress the changeLayer fixes.

Education: Updated the validation message in core.yaml to explicitly guide mappers toward using the level tag instead of layer.

Validation

Verified that "Tag as higher/lower" buttons are hidden for building-building crossings.

Verified that these buttons still appear for valid cases, such as bridges or tunnels (non-building crossings)

Closes #11775

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding higher or lower to overlapping buildings

1 participant