MapTransform

Description

class Tinman.Terrain.Georef.MapTransform

Derived from

CoordinateTransform abstract
IMapTransform

Default implementation of the IMapTransform interface.

Subclasses may implement additional transformations, for example the ones defined by ICanvasTransform.

Public / Constructors

Map​Transform


public constructor MapTransform → (5)

datasetSpace in : IGeorefInfo

The definition of dataset space, see IMapTransform.DatasetSpace.

mapSpace in : CoordinateSystem

The definition of map space, see IMapTransform.MapSpace.

mapBounds in : Box2D

The bounds of map space, see IMapTransform.MapBounds.

datum opt : IDatumTransform = null

Optional datum transform or null (see remarks).

datumLookup opt : bool = true

Perform a lookup to find a datum transform (see remarks)?

Creates a new instance of MapTransform.

If datum opt is null and datumLookup opt is true, the CoordinateSystemTransform.Datum method will be used to find a matching datum transform in the current IGeoRegistry.

GeorefException

If the geo-reference parameters are incomplete or invalid.

Protected / Attributes

dataset​Space


protected readonly attribute datasetSpace → (GeorefInfo)

The immutable geo-reference.

map​Bounds


protected readonly attribute mapBounds → (Box2D)

The bounds of map space.

map​Space


protected readonly attribute mapSpace → (CoordinateSystem)

The coordinate system of map space.