Peano
Loading...
Searching...
No Matches
projection::AEA::sphere Namespace Reference

Functions

template<auto Lon0Deg, auto Lat0Deg, auto StdParallel1Deg, auto StdParallel2Deg, auto EarthRadius>
static auto forward (const auto lon, const auto lat)
 Projects geographic coordinates (longitude, latitude) onto a planar surface using the Albers Equal-Area Conic projection for a spherical Earth model.
 
template<auto Lon0Deg, auto Lat0Deg, auto StdParallel1Deg, auto StdParallel2Deg, auto EarthRadius>
static auto inverse (const auto x, const auto y)
 Inverts the spherical Albers Equal-Area Conic projection and returns the geographic coordinates (longitude, latitude in degrees) corresponding to the given planar coordinates (x, y in meters).
 

Function Documentation

◆ forward()

template<auto Lon0Deg, auto Lat0Deg, auto StdParallel1Deg, auto StdParallel2Deg, auto EarthRadius>
static auto projection::AEA::sphere::forward ( const auto lon,
const auto lat )
static

Projects geographic coordinates (longitude, latitude) onto a planar surface using the Albers Equal-Area Conic projection for a spherical Earth model.

This simplified version assumes a spherical Earth with radius R and is suitable for regional mapping where area preservation is required but ellipsoidal precision is not necessary.

See also
https://doi.org/10.3133/pp1395

◆ inverse()

template<auto Lon0Deg, auto Lat0Deg, auto StdParallel1Deg, auto StdParallel2Deg, auto EarthRadius>
static auto projection::AEA::sphere::inverse ( const auto x,
const auto y )
static

Inverts the spherical Albers Equal-Area Conic projection and returns the geographic coordinates (longitude, latitude in degrees) corresponding to the given planar coordinates (x, y in meters).

This implementation assumes a spherical Earth model and uses the analytical inverse of the projection equations without iteration.

See also
https://doi.org/10.3133/pp1395