IMapProjectionFactory

Description

interface Tinman.Terrain.Mapping.IMapProjectionFactory

Derived from

IConfigurable

Extended by

MapProjectionFactory abstract

Base interface for classes that create IMapProjection objects.

Public / Methods

Create​Map​Projection


public method CreateMapProjection → (4)

source in : MapInfo

The source raster space.

target in : MapInfo

The target raster space.

reverse opt : bool = false

true to create a reverse map projection (i.e. one that transforms from target in to source in, false to create a normal map projection.

clip opt : bool = false

Clip bad geographic coordinates (see ICoordinateTransform.GeographicClip)?

returns → IMapProjection

The map projection.

Creates a new instance of IMapProjection.

When a map projection factory transforms between map types (i.e. MapType.Rect to MapType.Cube or vice-versa), the source in and target in raster spaces can be swapped in order to create a reverse map projection (see IMapProjection.Reverse). If the source and target map types are equal, an implementation cannot determine whether a reverse map projection is requested or not. In this case, the reverse opt parameter must be used.

GeorefException

If the given source in and target in raster specifications are not supported by this map projection factory.

Create​Map​Projection​Null


public method CreateMapProjectionNull → (4)

source in : MapInfo

The source raster space.

target in : MapInfo

The target raster space.

reverse opt : bool = false

true to create a reverse map projection (i.e. one that transforms from target in to source in, false to create a normal map projection.

clip opt : bool = false

Clip bad geographic coordinates (see ICoordinateTransform.GeographicClip)?

returns → IMapProjection

The map projection or null if the given source in and target in raster specifications are not supported by this map projection factory.

Creates a new instance of IMapProjection.

When a map projection factory transforms between map types (i.e. MapType.Rect to MapType.Cube or vice-versa), the source in and target in raster spaces can be swapped in order to create a reverse map projection (see IMapProjection.Reverse). If the source and target map types are equal, an implementation cannot determine whether a reverse map projection is requested or not. In this case, the reverse opt parameter must be used.

Public / Attributes

Transform


public attribute Transform → (get,set)

value : IDatumTransform

The datum transformation of null if none.

The datum transformation of the map projection.

If a map projection does not support datum transformations, setting this property will have no effect (i.e. it will always return null).