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
Returns
GeoJSONFeatureCollection<GeoJSONPolygon | GeoJSONMultiPolygon, UnitProps>
