IFClite TypeScript API
    Preparing search index...

    Interface GeoreferenceCandidates

    interface GeoreferenceCandidates {
        counts: {
            geographicCRS: number;
            mapConversion: number;
            projectedCRS: number;
            rigidOperation: number;
        };
        entities: GeoreferenceInfo;
        ePSetMapConversion: GeoreferenceInfo
        | null;
        mapConversions: { conversion: MapConversion; targetCRS?: ProjectedCRS }[];
        siteLocation: GeoreferenceInfo | null;
        winner:
            | "mapConversion"
            | "rigidOperation"
            | "ePSetMapConversion"
            | "siteLocation"
            | undefined;
    }
    Index
    counts: {
        geographicCRS: number;
        mapConversion: number;
        projectedCRS: number;
        rigidOperation: number;
    }

    How many operation and CRS entities the file holds.

    The IFC4+ entity reading: the first IfcMapConversion (or IfcMapConversionScaled), else the first IfcRigidOperation, with its target CRS. Exactly extractIfc4Georeferencing's result, so hasGeoreference: false means the file carries none of these.

    ePSetMapConversion: GeoreferenceInfo | null

    The IFC2x3 ePSet_MapConversion / ePSet_ProjectedCRS reading, even when the IFC4 entities win.

    mapConversions: { conversion: MapConversion; targetCRS?: ProjectedCRS }[]

    Every IfcMapConversion / IfcMapConversionScaled the file carries, in file order, each with its own TargetCRS (read the way the winner's is). Only the first is applied.

    siteLocation: GeoreferenceInfo | null

    The first IfcSite with RefLatitude and RefLongitude (source: 'siteLocation'), even when another source wins.

    winner:
        | "mapConversion"
        | "rigidOperation"
        | "ePSetMapConversion"
        | "siteLocation"
        | undefined

    The source extractGeoreferencing would pick, or undefined when nothing places the model.