[][src]Trait wof::utils::GeoJsonUtils

pub trait GeoJsonUtils {
    fn as_json_value(&self) -> &JsonValue;
fn as_mut_json_value(&mut self) -> &mut JsonValue; fn as_geom_point(&self) -> Option<Vec<f64>> { ... }
fn as_geom_multi_point(&self) -> Option<Vec<Vec<f64>>> { ... }
fn as_geom_line(&self) -> Option<Vec<Vec<f64>>> { ... }
fn as_geom_multi_line(&self) -> Option<Vec<Vec<Vec<f64>>>> { ... }
fn as_geom_polygon(&self) -> Option<Vec<Vec<Vec<f64>>>> { ... }
fn as_geom_multi_polygon(&self) -> Option<Vec<Vec<Vec<Vec<f64>>>>> { ... } }

Trait for JsonValue, it adds some useful features when the JsonValue contains GeoJSON coordinates.

Required methods

fn as_json_value(&self) -> &JsonValue

fn as_mut_json_value(&mut self) -> &mut JsonValue

Loading content...

Provided methods

Loading content...

Implementors

impl GeoJsonUtils for JsonValue[src]

Loading content...