User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_csprojcassini.create_integer_string

Table of Contents

TGIS_CSProjCassini.TGIS_CSProjCassini() constructor

DK for .NET | TatukGIS.NDK.TGIS_CSProjCassini.Create | Constructors | Fields | Methods | Properties

Creates an instance of the projection object with WGS84 datum and initializes projection parameters from EPSG code or WKT string.

Available also on: Delphi | Java | Python.

Overrides TGIS_CSProjAbstract.TGIS_CSProjAbstract().

Syntax

// C#
public override TGIS_CSProjCassini(
  int _epsg,
  string _wkt
);
' VisualBasic
Public Overrides Sub New(
  ByVal _epsg As Integer,
  ByVal _wkt As String
)
// Oxygene
public
  constructor (
    _epsg : Integer;
    _wkt : String
  ); override;

Parameters

Name Type Description
_epsg int
Integer
EPSG code identifying the projection (e.g., 32633 for UTM Zone 33N). If non-zero, WKT parameter is ignored.
_wkt string
String
WKT (Well-Known Text) string defining the projection. Used only if EPSG code is zero or lookup fails.

Remarks

PURPOSE: Initialize projection instance with standard datum (WGS84) and coordinate system definition from EPSG or WKT sources.

BEHAVIOR: Sets Datum=WGS84 by default. If _epsg is provided, loads projection parameters from EPSG database. Otherwise parses WKT string to extract projection type and parameters. Validation errors stored in Error property.

USAGE: Direct instantiation is via subclasses. Framework typically creates instances via factory: TGIS_CSFactory.Create(epsg) returns correctly typed projection.

CONSTRAINTS: WGS84 is hardcoded default; use Datum property to change. EPSG lookup requires loaded EPSG database. Invalid EPSG codes or WKT fail gracefully, setting Error property.

2026/07/03 01:50

Page Tools