DK for .NET | TatukGIS.NDK.TGIS_CSProjAbstract.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.
// C# public virtual TGIS_CSProjAbstract( int _epsg, string _wkt );
' VisualBasic Public Overridable Sub New( ByVal _epsg As Integer, ByVal _wkt As String )
// Oxygene public constructor ( _epsg : Integer; _wkt : String ); virtual;
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.