pub fn to_feature_collection_writer<W, T>(
writer: W,
features: &[T],
) -> Result<()>Expand description
Serialize elements as a GeoJSON FeatureCollection into the IO stream.
Note that T must have a column called geometry.
§Errors
Serialization can fail if T’s implementation of Serialize decides to
fail, or if T contains a map with non-string keys.