User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_csdatum

TGIS_CSDatum class

DK for ActiveX | TatukGIS_XDK11.TGIS_CSDatum | Classes | Methods | Properties

Datum definition combining an ellipsoid and datum transformation parameters used to relate coordinates to WGS84 (World Geodetic System 1984, EPSG:4326).

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public class TGIS_CSDatum : ITGIS_CSDatum 
{
}
' VisualBasic
Public Class TGIS_CSDatum
  Implements ITGIS_CSDatum
End Class
// Oxygene
type
  TGIS_CSDatum = public class
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
Assign_ public Copies the shared definition fields from another object.
(Inherited from ITGIS_CSAbstract)
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Create_ public Create a datum definition.
Create_2 public Create a datum definition.
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
FromWGS public Shifts a geodetic coordinate from WGS84 (World Geodetic System 1984) to this datum.
FromWGS3D public Shifts a geodetic 3D coordinate from WGS84 (World Geodetic System 1984) to this datum.
FromWGS3D_Ref public Shifts a geodetic 3D coordinate from WGS84 (World Geodetic System 1984) to this datum.
MarkDeprecated public Marks this coordinate system definition as deprecated or current.
(Inherited from ITGIS_CSAbstract)
ToWGS public Shifts a geodetic coordinate from this datum to WGS84 (World Geodetic System 1984).
ToWGS3D public Shifts a geodetic 3D coordinate from this datum to WGS84 (World Geodetic System 1984).
ToWGS3D_Ref public Shifts a geodetic 3D coordinate from this datum to WGS84 (World Geodetic System 1984).

Properties

Inherited Protected
Name Visibility Description
Deprecated public Indicates whether this definition is deprecated.
(Inherited from ITGIS_CSAbstract)
DescriptionEx public Descriptive name; for internal use of TGIS_CSAbstractListHelper.
(Inherited from ITGIS_CSAbstract)
Description_ public Description of the coordinate system definition.
(Inherited from ITGIS_CSAbstract)
Ellipsoid public Ellipsoid definition used by the datum.
EPSG public EPSG code.
(Inherited from ITGIS_CSAbstract)
Fallback public EPSG (European Petroleum Survey Group) code of the fallback coordinate transformation used when the grid shift transformation has a fallback defined.
FriendlyName public Friendly name constructed from the WKT name and EPSG code.
(Inherited from ITGIS_CSAbstract)
MasterEPSG public EPSG code of the object for which the current object is an alias.
(Inherited from ITGIS_CSAbstract)
Transform public Default coordinate transformation definition.
WKT public WKT name.
(Inherited from ITGIS_CSAbstract)

Remarks

PURPOSE: Encapsulates a geodetic datum, including its ellipsoid and default transformation path. Datums define how longitude/latitude coordinates relate to the Earth's physical surface, making them essential for integrating spatial data from different sources.

BEHAVIOR: Resolves the ellipsoid from the supplied EPSG (European Petroleum Survey Group) code and raises an exception if it does not exist. It also resolves the default transformation and, when that transformation is a grid shift transform, assigns the fallback EPSG code to that transform and stores it on the datum.

USAGE: Use a datum when looking up a predefined geodetic datum and its default transformation metadata.

datum = TGIS_CSDatum(...)       ellipsoid = datum.Ellipsoid       transform = datum.Transform

CONSTRAINTS: A valid ellipsoid EPSG code is required or construction raises EGIS_Exception. Fallback handling is applied only for grid shift transformations.

2026/09/20 19:57

Page Tools