Skip to main content

Crate egml_io

Crate egml_io 

Source
Expand description

XML deserialization of GML (Geography Markup Language) documents.

egml-io converts GML XML into the geometry types provided by [egml-core]. It uses quick-xml for XML parsing and serde for deserialization.

§Supported GML elements

§Error handling

All parse errors are reported via Error. The most common variants are Error::XmlDe (malformed XML) and Error::MissingElements (required child elements absent from the GML fragment).

XLink references (xlink:href) are not yet resolved; attempting to parse a document that uses them returns Error::UnsupportedXLink.

Modules§

abstract_gml
aggregates
complexes
primitives

Structs§

GmlAbstractFeature
GmlAbstractGml
GmlBoundingShape
GmlCode
GmlDirectPosition
GmlEnvelope
GmlMeasure

Enums§

Error
Errors returned by egml-io parsing operations.

Functions§

deserialize_abstract_feature
deserialize_abstract_gml