map.geodesy.RectifyingLatitudeConverter

Convert between geodetic and rectifying latitudes

Description

A RectifyingLatitudeConverter object provides conversion methods between geodetic and rectifying latitudes for an ellipsoid with a given third flattening.

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.

Creation

Syntax

converter = map.geodesy.RectifyingLatitudeConverter
converter = map.geodesy.RectifyingLatitudeConverter(spheroid)

Description

example

converter = map.geodesy.RectifyingLatitudeConverter returns a RectifyingLatitudeConverter object for a sphere and sets the ThirdFlattening property to 0.

example

converter = map.geodesy.RectifyingLatitudeConverter(spheroid) returns a rectifying latitude converter object and sets the ThirdFlattening property to match the specified spheroid object.

Input Arguments

expand all

Reference spheroid, specified as a referenceEllipsoid, oblateSpheroid, or referenceSphere object. To create a spheroid object, use the creation function specific to the object, or the wgs84Ellipsoid function.

Example: spheroid = referenceEllipsoid('GRS 80');

Properties

expand all

Third flattening of an ellipsoid, specified as a numeric scalar. ThirdFlattening is 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.)

Data Types: double

Object Functions

forward Convert geodetic latitude to authalic, conformal, isometric, or rectifying latitude
inverse Convert authalic, conformal, isometric, or rectifying latitude to geodetic latitude

Examples

collapse all

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

  RectifyingLatitudeConverter with properties:

    ThirdFlattening: 0.0017
grs80 = referenceEllipsoid('GRS 80');

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

  RectifyingLatitudeConverter with properties:

    ThirdFlattening: 0.0017

Introduced in R2013a