Trait rtz_core::geo::shared::ToGeoJsonFeatureCollection
source · pub trait ToGeoJsonFeatureCollection {
// Required method
fn to_feature_collection(&self) -> FeatureCollection;
}Expand description
A trait that allows for iterator types to be converted to GeoJSON.
Required Methods§
sourcefn to_feature_collection(&self) -> FeatureCollection
fn to_feature_collection(&self) -> FeatureCollection
Convert the type to GeoJSON.
Implementations on Foreign Types§
source§impl<'a, L, D, T> ToGeoJsonFeatureCollection for &'a Lwhere
L: Deref<Target = D>,
D: Deref<Target = [T]>,
T: ToGeoJsonFeature + 'static,
impl<'a, L, D, T> ToGeoJsonFeatureCollection for &'a Lwhere L: Deref<Target = D>, D: Deref<Target = [T]>, T: ToGeoJsonFeature + 'static,
Implementation specifically for ConcreteVec.