User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.createfromgml_widestring

Table of Contents

ITGIS_Shape.CreateFromGML method

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

Parses geometry from Geography Markup Language (GML) XML text.

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

Syntax

// C#
public ITGIS_Shape CreateFromGML(
  WideString _gml
);
' VisualBasic
Public Function CreateFromGML(
  ByVal _gml As WideString
) As ITGIS_Shape
// Oxygene
public
  function CreateFromGML(
    _gml : WideString
  ) : ITGIS_Shape;

Parameters

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

Result

Type Description
ITGIS_Shape Newly created shape populated from the parsed GML geometry.

Remarks

PURPOSE: Imports vector geometry from Geography Markup Language (GML), an XML-based OGC (Open Geospatial Consortium) standard used by Web Feature Service (WFS) and enterprise GIS workflows.

BEHAVIOR: Parses the XML structure, resolves GML geometry elements, and creates a shape from the extracted coordinates and geometry type.

CONSTRAINTS: GML is verbose and namespace-sensitive. Malformed XML or unsupported geometry content raises an exception.

2026/07/05 01:25

Page Tools