User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_csprojcassini.create_integer_string

Table of Contents

TGIS_CSProjCassini.TGIS_CSProjCassini() constructor

DK for Java | tatukgis.jdk.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 | .NET | Python.

Overrides TGIS_CSProjAbstract.TGIS_CSProjAbstract().

Syntax

// Java
public TGIS_CSProjCassini(
  int _epsg,
  java.lang.String _wkt
);
// 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 java.lang.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/06/13 00:22

Page Tools