[−][src]Crate kml
kml
KML support for Rust with a focus on conversion to geo-types
primitives.
Currently only partial read/write support is implemented.
Example
use kml::Kml; let kml_str = r#" <Polygon> <outerBoundaryIs> <LinearRing> <tessellate>1</tessellate> <coordinates> -1,2,0 -1.5,3,0 -1.5,2,0 -1,2,0 </coordinates> </LinearRing> </outerBoundaryIs> </Polygon> "#; let kml: Kml = kml_str.parse().unwrap();
Re-exports
pub use crate::reader::KmlReader; |
pub use crate::writer::KmlWriter; |
pub use conversion::quick_collection; |
Modules
conversion | |
reader | |
types | |
writer |
Structs
KmlDocument | Container for KML root element |
Enums
Error | |
Kml | Represents any KML element |
KmlVersion | Enum for representing the KML version being parsed. |