Skip to content

DiGi.GML.CityGML

github-actions[bot] edited this page Jul 6, 2026 · 1 revision

DiGi.GML.CityGML Namespace

Classes

Convert Class

public static class Convert

Inheritance System.Object → Convert

Methods

Convert.ToGML(string) Method

Converts a CityGML file from the specified file path to a CityModel object.

public static DiGi.GML.CityGML.Classes.CityModel ToGML(string path);

Parameters

path System.String

The file system path to the XML file.

Returns

CityModel
A CityModel instance if the conversion is successful; otherwise, null.

Convert.ToGML(Stream) Method

Converts a CityGML stream to a CityModel object.

public static DiGi.GML.CityGML.Classes.CityModel ToGML(System.IO.Stream steam);

Parameters

steam System.IO.Stream

The input stream containing the XML data.

Returns

CityModel
A CityModel instance if the conversion is successful; otherwise, null.

Convert.ToGML(XmlDocument) Method

Converts an System.Xml.XmlDocument to a CityModel object.

public static DiGi.GML.CityGML.Classes.CityModel ToGML(System.Xml.XmlDocument xmlDocument);

Parameters

xmlDocument System.Xml.XmlDocument

The XML document containing the GML data.

Returns

CityModel
A CityModel instance if the conversion is successful; otherwise, null.

Create Class

public static class Create

Inheritance System.Object → Create

Methods

Create.CityModel(this XmlNode) Method

Creates a CityModel(this XmlNode) instance from the provided System.Xml.XmlNode.

public static DiGi.GML.CityGML.Classes.CityModel CityModel(this System.Xml.XmlNode xmlNode);

Parameters

xmlNode System.Xml.XmlNode

The XML node to be processed into a city model.

Returns

CityModel
A CityModel(this XmlNode) object if the node is valid and a corresponding type is found; otherwise, the default value.

Clone this wiki locally