https://github.com/placemark/geojson-rewind
rewind geojson geometries
https://github.com/placemark/geojson-rewind
geojson winding-order
Last synced: 11 days ago
JSON representation
rewind geojson geometries
- Host: GitHub
- URL: https://github.com/placemark/geojson-rewind
- Owner: placemark
- License: mit
- Created: 2022-12-13T16:46:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T14:01:18.000Z (over 2 years ago)
- Last Synced: 2024-04-25T13:02:12.782Z (12 months ago)
- Topics: geojson, winding-order
- Language: TypeScript
- Homepage: https://placemark.github.io/geojson-rewind/
- Size: 61.5 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geojson-rewind
_geojson-rewind development is supported by 🌎 [placemark.io](https://placemark.io/)_
Fix the winding order of rings in GeoJSON.
## Install
This package is [`@placemarkio/geojson-rewind`](https://www.npmjs.com/package/@placemarkio/geojson-rewind)
## [📕 API Documentation](https://placemark.github.io/geojson-rewind/)
## Lineage
This is an update of [geojson-rewind](https://github.com/mapbox/geojson-rewind.git) from
the same original author. The changes include:- Includes TypeScript types
- ES Module build included
- Does **not** mutate its inputs: this returns a shallowly-cloned
feature when necessary.## Let's talk about winding
- [My previous writing on polygon winding](https://macwright.com/2015/03/23/geojson-second-bite.html#winding)