kml 0.7.0

KML support for Rust
Documentation
use std::str::FromStr;

use crate::types::altitude_mode::AltitudeMode;
use crate::types::coord::{Coord, CoordType};

// TODO: Should this be an attribute of geometries? Only complication is Point doesn't include
// tessellate, not sure how to represent that
// TODO: Implement validity check based on ATC-112 https://docs.opengeospatial.org/ts/14-068r2/14-068r2.html#atc-112
// where if extrude is true, altitudeMode can't be clampToGround, as well as ATC-113 where if
// tessellate is true, altitudeMode must be clampToGround
pub(crate) struct GeomProps<T: CoordType + FromStr + Default = f64> {
    pub coords: Vec<Coord<T>>,
    pub altitude_mode: AltitudeMode,
    pub extrude: bool,
    pub tessellate: bool,
}