PolyPartition

Description

Subdivides a polygons in a list until all are less than a given area

PolyPartition.split_polys(<List of polygons>, <area bound>)

To get a result as a GeoJSON feature collection:

PolyPartition.split_polys_geoJSON(<List of polygons>, <area bound>)

Installation

If available in Hex, the package can be installed by adding poly_bisector to your list of dependencies in mix.exs:

def deps do
[{:poly_bisector, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/poly_bisector.