Skip to content

spatial-monorepo


spatial-monorepo / imdf/src / exportGeoJSON

Function: exportGeoJSON()

exportGeoJSON(buildingId, archive): GeoJSONFeatureCollection`<GeoJSONPolygon | GeoJSONMultiPolygon, UnitProps>`

Defined in: packages/imdf/src/gis-export.ts:19

Export all units that belong to a building as a GeoJSON FeatureCollection. Filters units via levels → building_ids chain.

Parameters

buildingId

string

archive

IMDFArchive

Returns

GeoJSONFeatureCollection`<GeoJSONPolygon | GeoJSONMultiPolygon, UnitProps>`

Released under commercial licensing.