Skip to content

spatial-monorepo


spatial-monorepo / core/src / generateWallBandsForArchive

Function: generateWallBandsForArchive()

generateWallBandsForArchive(archive, options?): WallBandsByLevel

Defined in: packages/core/src/layers/wall-bands-from-imdf.ts:119

Generates a wall-band FeatureCollection for every level in archive.

Levels without a usable geometry (missing id or geometry) are skipped rather than throwing — a malformed/partial archive shouldn't take down wall generation for the levels that are well-formed.

Parameters

archive

Pick`<IMDFArchive, "levels" | "units" | "openings">`

options?

WallBandOptions = {}

Returns

WallBandsByLevel

Released under commercial licensing.