IFClite TypeScript API
    Preparing search index...

    Function resolveCrs

    @ifc-lite/geo — headless CRS engine.

    Resolve a CRS, convert points to and from WGS84, read grid convergence and point scale, and look up the EGM96 geoid undulation. Works in Node and the browser, and makes no network request unless the host installs a loader.

    The definition-string functions the viewer builds on are the separate @ifc-lite/geo/proj4 entry; reading a WKT without resolving it is @ifc-lite/geo/wkt.

    • Resolve a CRS to a transformer through the default engine, whose loaders configureCrsLoaders sets. null when it cannot be resolved.

      Precedence: a readable wkt defines the CRS (an EPSG identifier inside it resolves through the registry); otherwise epsg; otherwise name.

      Resolution reads the bundled EPSG index, the name aliases and the WKT. It touches the network only through loaders the host installed.

      Parameters

      Returns Promise<CrsTransformer | null>