MapProjection
Abstract base class for map coordinate projection systems.
A map projection defines how geographic coordinates (latitude/longitude) are transformed to and from 2D map coordinates. This class provides the core transformation methods and utilities for different projection types.
Implementations must provide the forward and inverse projection transformations, as well as the derivative function for scale calculations.
Since
0.0.86
Inheritors
Types
An implementation of MapProjection for the Web Mercator projection
Functions
Converts a GeographicCoordinate to a MapPoint.
Converts a MapPoint back to a GeographicCoordinate.
This function computes a map vector where each dimension is the length of a metre at the map point the given coordinates project into. The average of the magnitude in the x & y direction of the resulting vector is computed which is returned as the scale.