https://github.com/turfjs/turf-polygon-reduce
Gets the Pole of Inaccessibility of the input polygon
https://github.com/turfjs/turf-polygon-reduce
Last synced: about 1 year ago
JSON representation
Gets the Pole of Inaccessibility of the input polygon
- Host: GitHub
- URL: https://github.com/turfjs/turf-polygon-reduce
- Owner: Turfjs
- License: mit
- Created: 2015-04-07T18:14:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T18:34:01.000Z (about 11 years ago)
- Last Synced: 2025-01-10T16:22:49.747Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 164 KB
- Stars: 2
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# turf-polygon-reduce
Gets the [Pole of Inaccessibility](http://en.wikipedia.org/wiki/Pole_of_inaccessibility) of the input polygon. This is the same as reducing that polygon to a point through a constant-speed shrinking.
The resulting point is the optimal "center" to place the polygon label to avoid collisions.