User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.importfromewkb_olevariant

Table of Contents

ITGIS_Shape.ImportFromEWKB method

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

Replaces the current geometry by parsing Extended Well-Known Binary (EWKB) in place.

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

Syntax

// C#
public void ImportFromEWKB(
  ref OleVariant _ewkb
);
' VisualBasic
Public Sub ImportFromEWKB(
  ByRef _ewkb As OleVariant
)
// Oxygene
public
  procedure ImportFromEWKB(
    var _ewkb : OleVariant
  );

Parameters

Name Type Description
_ewkb OleVariant EWKB value stored in an OleVariant, typically as a byte array or hexadecimal string.

Remarks

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

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

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

2026/07/05 01:25

Page Tools