CoordinateOperation

Description

sealed class Tinman.Terrain.Georef.CoordinateOperation

A horizontal coordinate operation (i.e. map projection).

See also

GeoRegistry

Public / Constants

Popular­Mercator


[ShutdownSurvive]
public static readonly attribute PopularMercator → (ICoordinateOperation)

Popular Visualisation Pseudo-Mercator

This coordinate operation is used by popular web mapping applications.

Public / Constructors

Coordinate­Operation


public constructor CoordinateOperation → (2)

method in : CoordinateOperationMethod

[not-null]
The coordinate operation method.

name opt : string = null

Human-readable name of the geo object. If empty, null will be used instead.

Creates a new instance of CoordinateOperation.

Public / Methods

Constant


[Constant]
public static method Constant → (1)

geoObject in : ICoordinateOperation

The geo object.

returns → ICoordinateOperation

The found singleton constant or geoObject in.

Returns the singleton constant for the given geo object, if any.

Create­Proj­Definition


public method CreateProjDefinition → (2)

ellipsoid in : Ellipsoid

[not-null]
The ellipsoid specification.

flags opt : CoordinateSystemFlags = CoordinateSystemFlags.None

The coordinate system flags to use for flipping the sign of parameter values, see GeorefUtil.IsDepth, GeorefUtil.IsSouthing and GeorefUtil.IsWesting.

returns → string

The PROJ definition string or null if not supported.

Returns the definition string for the projected coordinate system, see pj_init_plus of the legacy PROJ.4 API and proj_create of the PROJ.6+ API.

GeorefException

If the parameters are incomplete.

Origin


public method Origin → (3)

map in : Vec2D

The map coordinates, as returned by ICoordinateTransform.GeographicToMap.

ellipsoid opt : UnitOfMeasure = null

The Ellipsoid.Unit of the Ellipsoid that has been passed to ICoordinateOperation.CreateCoordinateTransform, where null is interpreted as UnitOfMeasure.Metre.

flags opt : CoordinateSystemFlags = CoordinateSystemFlags.None

The CoordinateSystemFlags that have been passed to ICoordinateOperation.CreateCoordinateTransform.

Updates CoordinateOperationParameter.Easting and CoordinateOperationParameter.Northing while retaining their respective units so that the given map in coordinates move to the coordinate system origin.

Parameter­Name


public static method ParameterName → (1)

parameter in : CoordinateOperationParameter

The parameter.

returns → string

The parameter name.

Returns the human-readable name of the given parameter.

Parameter­Type


public static method ParameterType → (1)

parameter in : CoordinateOperationParameter

The parameter.

returns → UnitOfMeasureType

The unit type.

Returns the unit type of the given parameter.

Public / Attributes

Method


public attribute Method → (get)

value : CoordinateOperationMethod

[not-null]
The CoordinateOperationMethod object that represents the coordinate operation method.

The coordinate operation method.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<ICoordinateOperation>

[not-null]
The configurator object.

The configurator object for this type.

Serialization

Serial­Id


public static readonly attribute SerialId → (ISerialTypeInfo)

Serialization information about this type.