DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ImportFromGML | Methods | Properties
Replaces the current geometry by parsing Geography Markup Language (GML) XML text in place.
// C# public void ImportFromGML( WideString _gml );
' VisualBasic Public Sub ImportFromGML( ByVal _gml As WideString )
// Oxygene public procedure ImportFromGML( _gml : WideString );
| Name | Type | Description |
|---|---|---|
| _gml | WideString | GML geometry or feature XML text. |
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.