Class GmlHelper
Helper for GML creation
Inheritance
System.Object
GmlHelper
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class GmlHelper : object
Constructors
View SourceGmlHelper()
Declaration
public GmlHelper()
Methods
View SourceAddFeatureMemberGeoMapElement(String, GeoMapElement, GmlDimension)
Add a GeoMapElement as a feature
Declaration
public void AddFeatureMemberGeoMapElement(string featureName, GeoMapElement geoMapElement, GmlDimension gmlDimension)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
AddFeatureMemberGeoMapElements(String, GeoMapElementCollection, GmlDimension)
Declaration
public void AddFeatureMemberGeoMapElements(string featureName, GeoMapElementCollection geoMapElementCollection, GmlDimension gmlDimension)
Parameters
Type | Name | Description |
---|---|---|
System.String | featureName | |
GeoMapElementCollection | geoMapElementCollection | |
GmlDimension | gmlDimension |
CompleteXml()
Declaration
public void CompleteXml()
CreateGml(String, String, GeoMapElementCollection)
Declaration
public static bool CreateGml(string filename, string featureName, GeoMapElementCollection geoMapElementCollection)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | |
System.String | featureName | |
GeoMapElementCollection | geoMapElementCollection |
Returns
Type | Description |
---|---|
System.Boolean |
GetXml()
Declaration
public string GetXml()
Returns
Type | Description |
---|---|
System.String |
Save(String)
Declaration
public void Save(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename |