map.geodesy.RectifyingLatitudeConverter class

Package: map.geodesy

Convert between geodetic and rectifying latitudes

Description

The rectifying latitude maps an ellipsoid (oblate spheroid) to a sphere while preserving the distances along the meridians. Rectifying latitudes are used when implementing map projections, such as Equidistant Cylindrical, that preserve such distances. A map.geodesy.RectifyingLatitudeConverter object provides conversion methods between geodetic and rectifying latitudes for an ellipsoid with a given third flattening.

Construction

converter = map.geodesy.RectifyingLatitudeConverter returns a rectifying latitude converter object for a sphere (with ThirdFlattening 0).

converter = map.geodesy.RectifyingLatitudeConverter(spheroid) returns a rectifying latitude converter object with ThirdFlattening matching the specified spheroid object.

Input Arguments

spheroid

Reference spheroid, specified as a scalar referenceEllipsoid, oblateSpheroid, and referenceSphere object.

Properties

ThirdFlattening

Scalar double falling in the interval [0, ecc2n(0.5)], or approximately [0 0.071797]. (Flatter spheroids are possible in theory, but do not occur in practice and are not supported.)

Methods

forward Geodetic latitude to rectifying latitude
inverse Rectifying latitude to geodetic latitude

Copy Semantics

Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB® documentation.

Examples

expand all

Create a Rectifying Latitude Converter Object and Set Property

grs80 = referenceEllipsoid('GRS 80');
    
conv1 = map.geodesy.RectifyingLatitudeConverter;
conv1.ThirdFlattening = grs80.ThirdFlattening
conv1 = 

  RectifyingLatitudeConverter with properties:

    ThirdFlattening: 0.0017

Create a Rectifying Latitude Converter Object, Specifying Spheroid

grs80 = referenceEllipsoid('GRS 80');

conv2 = map.geodesy.RectifyingLatitudeConverter(grs80)
conv2 = 

  RectifyingLatitudeConverter with properties:

    ThirdFlattening: 0.0017
Was this topic helpful?