User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csdatumlist.fix_integer_string_integer_integer_integer

Table of Contents

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

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

Fix item by substituting exiting item based on EPSG code.

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

Syntax

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

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
_fallback Integer EPSG code of fallback coordinate operation (used only for grid-shift if grid-shift file can not be used)

Result

Type Description
TGIS_CSDatum Fixed object.

Remarks

function will not check _epsg and _wkt for being unique

2022/11/16 01:14

Page Tools