JuliaGeo / GeometryOps.jl

GeoInterface-based geometry operations
https://juliageo.org/GeometryOps.jl/
MIT License
14 stars 2 forks source link

Polygon subdivision #120

Open asinghvi17 opened 2 months ago

asinghvi17 commented 2 months ago

Something like PostGIS's ST_Subdivide would be nice to have, where it takes a polygon and converts it into a multipolygon based on some criterion.

See https://postgis.net/docs/manual-3.4/ST_Subdivide.html

asinghvi17 commented 1 week ago

This would actually be super easy to do with cut - just keep cutting the polygon into pieces via gridlines, and then wrap the resulting vector of polygons in a multipolygon!