Skip to content

spatial-monorepo


spatial-monorepo / imdf/src / exportMicrosoftPlaces

Function: exportMicrosoftPlaces()

exportMicrosoftPlaces(archive): MicrosoftExportResult

Defined in: packages/imdf/src/profiles/microsoft.ts:31

Export an IMDFArchive in the Microsoft Places profile format.

Required feature types: building, footprint, level, unit. Optional (if present): section, fixture. Excluded: venue, opening, amenity, anchor, geofence, kiosk, detail, occupant, relationship, address.

Microsoft-specific extensions:

  • Level features: properties.bearing (default 0)
  • Fixture features: properties.rotation (default 0)

Returns { zip: Uint8Array, csv: string }. zip contains one <type>.geojson per included feature type. csv has header PlaceId,IMDFId,FeatureType with one data row per feature.

Parameters

archive

IMDFArchive

Returns

MicrosoftExportResult

Released under commercial licensing.