User Tools

Site Tools


api:dk11:delphi:giscssystems.tgis_csgeographiccoordinatesystemlist.add_integer_string_integer_integer_integer

Table of Contents

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

Syntax

// Delphi
public
  function Add(
    const _epsg : Integer;
    const _wkt : String;
    const _datum : Integer;
    const _prime_meridian : Integer;
    const _units : Integer
  ) : TGIS_CSGeographicCoordinateSystem; overload; reintroduce; virtual;
// C++ Builder
public:
  virtual TGIS_CSGeographicCoordinateSystem* Add(
    const int _epsg,
    const UnicodeString _wkt,
    const int _datum,
    const int _prime_meridian,
    const int _units
  ) /* overload */;

Parameters

Name Type Description
_epsg Integer EPSG code for the GCS; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt String WKT name for the GCS
_datum Integer EPSG code for the datum
_prime_meridian Integer EPSG code for the prime meridian
_units Integer EPSG code for the unit

Result

Type Description
TGIS_CSGeographicCoordinateSystem Newly created object.

Remarks

function will not check _epsg and _wkt for being unique

2020/05/07 01:06

Page Tools