User Tools

Site Tools


Table of Contents

TGIS_CSDatumList.Add(Integer; String; Integer; Integer; Integer) method

DK11 for Delphi | GisCsBase.TGIS_CSDatumList.Add | Overloads | Constructors | Methods | Properties

Add new item into the list.

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


// Delphi
  function Add(
    const _epsg : Integer;
    const _wkt : String;
    const _ellipsoid : Integer;
    const _transform : Integer;
    const _fallback : Integer
  ) : TGIS_CSDatum; overload; reintroduce; virtual;
// C++ Builder
  virtual TGIS_CSDatum* Add(
    const int _epsg,
    const UnicodeString _wkt,
    const int _ellipsoid,
    const int _transform,
    const int _fallback
  ) /* overload */;


Name Type Description
_epsg Integer EPSG code for the datum; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt String WKT name for the datum
_ellipsoid Integer EPSG code for ellipsoid
_transform Integer EPSG code of default coordinate operation
_fallback Integer EPSG code of fallback coordinate operation (used only for grid-shift if grid-shift file can not be used)


Type Description
TGIS_CSDatum Newly created object.


function will not check _epsg and _wkt for being unique

2022/11/16 01:14

Page Tools