Skip to main content

parse_geojson

Function parse_geojson 

Source
pub fn parse_geojson(bytes: &[u8]) -> Result<Vec<Feat>>
Expand description

Deserializes a TZBB GeoJSON FeatureCollection into Feats.

§Errors

Returns an error for JSON that doesn’t deserialize as a Polygon/MultiPolygon FeatureCollection.