Coord v0.1.0 Coord.Datum View Source

An object with the data necessary to create a point in a datum.

Most likely you want to use the datum WGS84, which is returned by the function Coord.Datum.wgs84/0. Many functions in this library have two versions, one that takes a datum and one that defaults to WGS84.

If you need a different datum you will need to create your own instance of Coord.Datum. See the documentation for Coord.Datum.new for details.

Concept

A geodetic datum is a system for assigning coordinates to our irregularly shaped world. WGS84 is generally considered the international default datum.

Source: https://en.wikipedia.org/wiki/Geodetic_datum

Link to this section Summary

Types

t()

A struct containing an ellipsoid struct.

Functions

Create a Datum object by specifying the parameters of the ellipsoid that makes up its surface.

Create a Datum object with data for the WGS84 datum, the latest revision of the international default.

Link to this section Types

Specs

t() :: %Coord.Datum{ellipsoid: Coord.Datum.Ellipsoid.t()}

A struct containing an ellipsoid struct.

Link to this section Functions

Specs

Create a Datum object by specifying the parameters of the ellipsoid that makes up its surface.

See Coord.Datum.Ellipsoid for details on the parameter.

Specs

wgs84() :: t()

Create a Datum object with data for the WGS84 datum, the latest revision of the international default.