User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.importfromewkt_widestring

Table of Contents

ITGIS_Shape.ImportFromEWKT method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ImportFromEWKT | Methods | Properties

Replaces the current geometry by parsing Extended Well-Known Text (EWKT) in place.

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public void ImportFromEWKT(
  WideString _ewkt
);
' VisualBasic
Public Sub ImportFromEWKT(
  ByVal _ewkt As WideString
)
// Oxygene
public
  procedure ImportFromEWKT(
    _ewkt : WideString
  );

Parameters

Name Type Description
_ewkt WideString EWKT text such as SRID=4326;POINT(10 20), with optional SRID prefix followed by Well-Known Text (WKT).

Remarks

PURPOSE: Replaces the current shape geometry from Extended Well-Known Text (EWKT), a PostGIS extension of WKT (Well-Known Text) that can include Spatial Reference Identifier (SRID) metadata.

BEHAVIOR: Parses the EWKT content and updates this shape in place with the decoded geometry.

CONSTRAINTS: Existing geometry is overwritten. Malformed input raises an exception.

2026/07/11 00:14

Page Tools