[][src]Function geo_geojson::from_str

pub fn from_str<T>(s: &str) -> Result<GeometryCollection<T>, Error> where
    T: Num + NumCast + PartialOrd + Copy + Float

Converts geojson strings to GeometryCollection.

Errors

Returns the same errors, under the same conditions, as GeoJson::from_str.