geo-geojson

Crates.iogeo-geojson
lib.rsgeo-geojson
version0.1.0
sourcesrc
created_at2019-06-26 20:45:35.236957
updated_at2019-06-26 20:45:35.236957
descriptionConverts geojson to geo-types
homepage
repositoryhttps://github.com/lelongg/geo-geojson
max_upload_size
id143839
size14,255
GĂ©rald Lelong (lelongg)

documentation

https://docs.rs/geo-geojson/

README

geo-geojson

This crates converts geojson strings to GeometryCollection.

crate.io docs.rs

This is the missing link between the geo-types crate and the geojson crate and should probably be part of geojson.

Example

let geojson_str = fs::read_to_string("src/tests/demo.json")?;
let collection: geo_types::GeometryCollection<f64> = geo_geojson::from_str(&geojson_str)?;
Commit count: 5

cargo fmt