Loxo.CoordinateSystem (loxo v0.1.0)

Copy Markdown View Source

A coordinate system read once, so a caller projecting many batches between the same systems reads each only once: Loxo.coordinate_system/1 makes one from an EPSG code or a proj string, and Loxo.project/2 takes one wherever it takes a code or a string.

definition is what it was read from, and longitude_latitude whether its positions are longitude and latitude, in degrees, as WGS 84's 4326 and NAD83's 4269 are, rather than a projection's units. The rest is held by the native library and not readable.

Summary

Types

t()

A coordinate system: the EPSG code or proj string it was read from, whether it is longitude and latitude, and its reading.

Types

t()

@type t() :: %Loxo.CoordinateSystem{
  definition: pos_integer() | String.t(),
  longitude_latitude: boolean(),
  resource: reference()
}

A coordinate system: the EPSG code or proj string it was read from, whether it is longitude and latitude, and its reading.