@openhps/geospatial
    Preparing search index...

    Interface LocalProjection

    A local equirectangular projection centred on a WGS 84 origin.

    The projection is deliberately simple and deterministic: x is longitude scaled by the cosine of the origin latitude, y is latitude scaled by a constant. It is invertible, so a connection point computed on the metre grid can be converted back to a geographical position.

    interface LocalProjection {
        metresPerDegreeLatitude: number;
        metresPerDegreeLongitude: number;
        origin: GeoPoint;
        toGeo(point: Point2): GeoPoint;
        toLocal(point: GeoPoint): Point2;
    }
    Index
    metresPerDegreeLatitude: number

    Metres represented by one degree of latitude at the origin.

    metresPerDegreeLongitude: number

    Metres represented by one degree of longitude at the origin.

    origin: GeoPoint

    The WGS 84 origin of the projection.