IGeorefInfo

Description

interface Tinman.Terrain.Georef.IGeorefInfo

Base interface for raster maps that provide geo-referencing information.

Geo-referencing information of the raster map can be obtained via Georef. The raster specification is given by IMapInfo.Map.

Public / Attributes

Georef


public attribute Georef → (get)

value : Raster

The geo-referencing object or null if no geo-referencing is available.

Returns geo-referencing information.

Extensions

Create​Transform

2 overloads


public static method CreateTransform1 → ()

returns → IMapTransform

The created IMapTransform object.

Creates a IMapTransform object for this geo-referenced raster.

The following holds true for the returned IMapTransform object:

GeorefException

If the geo-reference parameters are incomplete or invalid.


public static method CreateTransform2 → (3)

mapSpace in : CoordinateSystem

[not-null]
The coordinate system of the target map, see IMapTransform.MapSpace.

mapBounds in : Box2D

The map bounds, see IMapTransform.MapBounds.

transform opt : IDatumTransform = null

Optional transformation between the geodetic datums. If null, the transformation is looked up in the current geo registry.

returns → IMapTransform

The resulting map transform object.

Creates a IMapTransform object for this geo-referenced raster, using the given coordinate system as map space.

The following holds true for the returned IMapTransform object:

GeorefException

If the geo-reference parameters are incomplete or invalid.

Cubemap​Size

2 overloads


public static method CubemapSize1 → ()

returns → int32

The rounded cubemap size or 0 if there is no geo-referencing information.

Computes the default cubemap size for this given geo-reference.


public static method CubemapSize2 → (1)

sizeInfo out : Vec4D

The cubemap size info:
Vec4D.X: [pow2+1] Smaller cubemap size.
Vec4D.Y: [>0] Ground sample distance of smaller cubemap size.
Vec4D.Z: [pow2+1] Larger cubemap size.
Vec4D.W: [>0] Ground sample distance of larger cubemap size.
Will be Vec4D.Undefined if if there is no geo-referencing information.

returns → int32

The rounded cubemap size or 0 if there is no geo-referencing information.

Computes the nearest cubemap sizes for this given geo-reference.

Georef​Max​Size


public static method GeorefMaxSize → ()

returns → Raster

The adjusted value of IGeorefInfo.Georef or null.

Ground​Sample​Distance​Z


public static method GroundSampleDistanceZ → (1)

unit opt : UnitOfMeasure = null

The unit of measure. If null, UnitOfMeasure.Metre will be used.

returns → float64

The ground sample distance or Maths.NanD if IGeorefInfo.Georef returns null.

Computes the estimated overall ground sample distance.

This method delegates to GroundSampleDistance.Compute and returns Vec4D.Z.

Vertical​Unit


public static method VerticalUnit → ()

returns → UnitOfMeasure

The vertical unit.

Returns the vertical unit.