IFClite TypeScript API
    Preparing search index...

    Interface Reprojector

    Converts projected coordinates to WGS84. The checker calls it synchronously with METRES, easting first, whatever unit and axis order the EPSG definition declares; it returns [longitude, latitude] in degrees, the shape of @ifc-lite/geo's transformer.toWgs84. Resolve the transformers before diagnosing (crsRequirements lists the codes) and hand in a lookup over them. Return undefined for a CRS you cannot handle; a throw is caught and the check reported as skipped.

    interface Reprojector {
        toWgs84(
            epsgCode: number,
            eastingNorthingMetres: readonly [number, number],
        ): readonly number[] | undefined;
    }
    Index
    • Parameters

      • epsgCode: number
      • eastingNorthingMetres: readonly [number, number]

      Returns readonly number[] | undefined