DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.CreateFromGML | Methods | Properties
Parses geometry from Geography Markup Language (GML) XML text.
// 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;
| Name | Type | Description |
|---|---|---|
| _gml | WideString | GML geometry or feature XML text. |
| Type | Description |
|---|---|
| ITGIS_Shape | Newly created shape populated from the parsed GML geometry. |
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.