User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.importfromwkt_widestring

Table of Contents

ITGIS_Shape.ImportFromWKT method

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

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

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

Syntax

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

Parameters

Name Type Description
_wkt WideString WKT text such as POINT(10 20), LINESTRING(...), or POLYGON((...)).

Remarks

PURPOSE: Replaces the current shape geometry from WKT (Well-Known Text), the OGC (Open Geospatial Consortium) standard text representation for vector geometry.

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

CONSTRAINTS: Existing geometry is overwritten. WKT does not carry CRS (Coordinate Reference System) metadata. Malformed input raises an exception.

2026/07/05 01:25

Page Tools