DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.CreateFromEWKT | Methods | Properties
Parses Extended Well-Known Text (EWKT) geometry with optional PostGIS Spatial Reference Identifier (SRID) metadata.
// C# public ITGIS_Shape CreateFromEWKT( WideString _ewkt );
' VisualBasic Public Function CreateFromEWKT( ByVal _ewkt As WideString ) As ITGIS_Shape
// Oxygene public function CreateFromEWKT( _ewkt : WideString ) : ITGIS_Shape;
| Name | Type | Description |
|---|---|---|
| _ewkt | WideString | EWKT text such as SRID=4326;POINT(10 20), with optional SRID prefix followed by Well-Known Text (WKT). |
| Type | Description |
|---|---|
| ITGIS_Shape | Newly created shape populated from the parsed EWKT geometry. |
PURPOSE: Imports geometry from Extended Well-Known Text (EWKT), a PostGIS extension of WKT (Well-Known Text) that can include Spatial Reference Identifier (SRID) metadata for CRS (Coordinate Reference System) identification.
BEHAVIOR: Parses the optional SRID prefix and the geometry text, validates the WKT structure, and creates a shape of the appropriate geometry type from the parsed coordinates.
CONSTRAINTS: EWKT is not an OGC (Open Geospatial Consortium) standard format. Malformed input raises an exception.