User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.importfromgml_widestring

Table of Contents

ITGIS_Shape.ImportFromGML method

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

Replaces the current geometry by parsing Geography Markup Language (GML) XML text in place.

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

Syntax

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

Parameters

Name Type Description
_gml WideString GML geometry or feature XML text.

Remarks

PURPOSE: Replaces the current shape geometry from Geography Markup Language (GML), an XML-based OGC (Open Geospatial Consortium) standard used by Web Feature Service (WFS) and enterprise GIS systems.

BEHAVIOR: Creates a shape from the supplied GML text, resets the current geometry, and then copies the decoded parts and vertices when the created shape type matches this shape. For complex shapes, it recreates the geometry from the parsed shape.

CONSTRAINTS: Existing geometry is reset before import. Behavior after a type mismatch is implementation-specific.

2026/09/20 23:45

Page Tools