Minimum Bounding Rectangle for GeoJSON
This problem it is solving has many names: Minimum Bounding Rectangle, Minimum Bounding Box, Smallest Surrounding Rectangle, Minimum Area Rectangle...
This is an example of the output of this library. The input GeoJSON is the yellow polygon (outline of the Republic of Ireland).
The blue rectangle was generated by
smallestSurroundingRectangleByWidth while the red rectangle is the output of
How to use it
yarn add geojson-minimum-bounding-rectangle
npm install geojson-minimum-bounding-rectangle
See LICENSE for more details.