IFClite TypeScript API
    Preparing search index...

    Interface BuildingAsset

    A downloadable building-model asset. Parsing it is the caller's job.

    interface BuildingAsset {
        acquired: string | null;
        crs: string;
        extent: BBox;
        extentApproximate: boolean;
        format: string;
        mediaType: string;
        size: number | null;
        tileId: string;
        url: string;
        verticalCrs: string | null;
    }
    Index
    acquired: string | null
    crs: string
    extent: BBox

    Extent in the provider's projected CRS. When extentApproximate (always, for swisstopo), it is derived from the item's WGS84 bbox through swisstopo's approximate formulas, so it can be off by up to about 3 m. Use it to pick tiles, not to measure.

    extentApproximate: boolean
    format: string

    File format, e.g. citygml, dwg, gdb.

    mediaType: string
    size: number | null

    Bytes, when the provider states it; null otherwise.

    tileId: string
    url: string
    verticalCrs: string | null