-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
No neighbour detection exists in City2TABULA.
This sub-issue introduces a method to detect which buildings are attached to each other based on their footprints or envelopes.
Attached neighbours are buildings that:
- Touch or overlap in 2D
- Are separated only by very small geometric gaps (tolerance required)
This is a prerequisite for Party Wall Detection.
Requirements
- Compute building footprints or envelopes.
- Detect potential neighbours using spatial operations:
ST_Intersects(footprint, footprint)ST_TouchesST_DWithin(footprint, footprint, tolerance)
- Store neighbour relationships in a table or directly in building attributes.
- Ensure the method works across datasets with varying geometry quality.
Output
For each building:
neighbour_ids(array or mapping table)- Boolean
has_attached_neighbours
These results will be used by Sub-Issue B.
Notes
- Tolerance is required due to minor dataset gaps.
- 3DBAG has cleaner geometry; DE/AT may need relaxed thresholds.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request