| Crates.io | geo-geojson |
| lib.rs | geo-geojson |
| version | 0.1.0 |
| created_at | 2019-06-26 20:45:35.236957+00 |
| updated_at | 2019-06-26 20:45:35.236957+00 |
| description | Converts geojson to geo-types |
| homepage | |
| repository | https://github.com/lelongg/geo-geojson |
| max_upload_size | |
| id | 143839 |
| size | 14,255 |
This crates converts geojson strings to GeometryCollection.
This is the missing link between the geo-types crate and the geojson crate and should probably be part of geojson.
let geojson_str = fs::read_to_string("src/tests/demo.json")?;
let collection: geo_types::GeometryCollection<f64> = geo_geojson::from_str(&geojson_str)?;