User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shape.importfromewkt_string

Table of Contents

TGIS_Shape.ImportFromEWKT method

DK for Java | tatukgis.jdk.TGIS_Shape.ImportFromEWKT | Constructors | Fields | Methods | Properties

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

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

Syntax

// Java
public void ImportFromEWKT(
  java.lang.String _ewkt
);
// Oxygene
public
  procedure ImportFromEWKT(
    _ewkt : String
  ); virtual;

Parameters

Name Type Description
_ewkt java.lang.String
String
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/05 02:34

Page Tools