Skip to content

Building vs Building Part #280

Answered by jwass
Azbesciak asked this question in Q&A
Sep 20, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @Azbesciak - You are correct that the building_part.building_id field is a foreign key reference to the building entity. There's a backward relation in building.has_parts which indicates whether any building_parts exist that point back to this building.

The building entities are the defining record of information about the building - containing things like the type of building (in class and subclass) and the building's name. The building_parts are the 3d representation. But if you only want the 2d geometry, you can find it in building.geometry.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Azbesciak
Comment options

Answer selected by Azbesciak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants