GeoJSON-Rewind

Enforce polygon ring winding order for GeoJSON

Rust port of @mapbox/geojson-rewind

[![Build Status](https://travis-ci.org/mapbox/geojson-rewind.png)](https://travis-ci.org/mapbox/geojson-rewind) The [GeoJSON](https://tools.ietf.org/html/rfc7946) specification is [picky about winding order](https://tools.ietf.org/html/rfc7946#section-3.1.6). This helps you generate compliant Polygon and MultiPolygon geometries. ## API `rewind(geojson: &mut geojson::Feature, outer: bool)` Given a GeoJSON FeatureCollection, Feature, or Geometry, return a version with inner and outer rings of different winding orders. If `outer` is `true`, the outer ring is clockwise, otherwise it is counterclockwise.