Show / Hide Table of Contents

Class GmlHelper

Helper for GML creation

Inheritance
object
GmlHelper
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class GmlHelper

Constructors

View Source

GmlHelper()

Declaration
public GmlHelper()

Methods

View Source

AddFeatureMemberGeoMapElement(string, GeoMapElement, GmlDimension)

Add a GeoMapElement as a feature

Declaration
public void AddFeatureMemberGeoMapElement(string featureName, GeoMapElement geoMapElement, GmlDimension gmlDimension)
Parameters
Type Name Description
string featureName

Name of GML feature to add

GeoMapElement geoMapElement

GeoMapElement to add to the GML

GmlDimension gmlDimension

2D or 3D data of the GeoMapElement into the GML

View Source

AddFeatureMemberGeoMapElements(string, GeoMapElementCollection, GmlDimension)

Add a GeoMapElementCollection as a feature

Declaration
public void AddFeatureMemberGeoMapElements(string featureName, GeoMapElementCollection geoMapElementCollection, GmlDimension gmlDimension)
Parameters
Type Name Description
string featureName

Name of GML feature to add

GeoMapElementCollection geoMapElementCollection

GeoMapElementCollection to add to the GML

GmlDimension gmlDimension

2D or 3D data of the GeoMapElement into the GML

View Source

CompleteXml()

Declaration
public void CompleteXml()
View Source

CreateGml(string, string, GeoMapElementCollection)

Static member to create GML in a single call passing a collection of geoMapElements

Declaration
public static bool CreateGml(string filename, string featureName, GeoMapElementCollection geoMapElementCollection)
Parameters
Type Name Description
string filename

Filename along with path to save the GML file into

string featureName

Feature name of the GML

GeoMapElementCollection geoMapElementCollection

GeoMapElementCollection to add to the GML

Returns
Type Description
bool
View Source

GetXml()

Declaration
public string GetXml()
Returns
Type Description
string
View Source

Save(string)

Save GML to an external file

Declaration
public void Save(string filename)
Parameters
Type Name Description
string filename

Filename along with path to save the GML file into

  • View Source
In this article
Back to top Copyright 2018-2026 CADology Limited