IFClite TypeScript API
    Preparing search index...

    Type Alias FixApplication

    FixApplication:
        | {
            input: GeorefWriteInput;
            userSupplied: string[];
            via: "georef.update";
        }
        | { input: GeorefWriteInput; userSupplied: string[]; via: "georef.set" }
        | {
            input: GeorefSiteWriteInput;
            userSupplied: string[];
            via: "georef.site";
        }
        | { reason: string; via: "manual" }

    How a fix can be applied.

    • georef.update: one bim.georef.update(input) call on the model's georeferencing (the write API addresses it, not entity ids).
    • georef.set: one grouped bim.georef.set(input), for a model with no map conversion and no CRS yet.
    • georef.site: one bim.georef.setSite(input) call: IfcSite RefLatitude/RefLongitude (decimal degrees) and RefElevation.
    • manual: the georeferencing write API cannot do it (IfcRigidOperation, placements, a non-winning record), or it would refuse it; reason says which.

    userSupplied lists ProjectedCRS.Name-style paths (IfcSite.RefLatitude for a site write) whose value is null in input: only the user can supply them, and the write fails until they do.