Releases: willvincent/turf-php
1.4
1.3
Fix: The new cookie functionality was not allowing Feature and FeatureCollection for the $cutter param, which should have been allowed. Fixed and working.
1.2
New feature 🎉
Cookie takes a source and a cutter Polygon, Multipolygon, feature or feature collection, and an optional third fullyContainedOnly boolean.
When the third param is true; only items fully contained inside the cutter are returned, otherwise by default, the outer bounds (and holes) will be punched out from the source.
The real use case here is to pass in a grid as the source, maybe made from the bbox of the cutter, and then cut it out such that the outer edges of the grid match the cutter; but it otherwise contains a grid. Handy way to bust up large polygons if you need to run processing within them in smaller chunks.
1.1
Fix: BBox not working properly for MultiPolygon