User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csdatumlist.prepare_integer_string_integer_integer

Table of Contents

TGIS_CSDatumList.Prepare method

DK11 for Delphi | GisCsBase.TGIS_CSDatumList.Prepare | Constructors | Methods | Properties

Prepare a TGIS_CSDatum object. If the matching object does not exists then will be added to the list and returned. If the object can be found then it will be returned form the list.

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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 if value is -1 then first matching object will be found

Result

Type Description
TGIS_CSDatum Newly created / Found object or nil.
2020/05/07 01:06

Page Tools