Skip to content

Releases: willvincent/turf-php

1.4

01 Aug 10:12
e98483c

Choose a tag to compare

🍪 Improved!

Better handling of featurecollection cutters, and graceful handling of non-polygon features when processing the cut.

1.3

01 Aug 09:52
f312dab

Choose a tag to compare

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

01 Aug 09:33
ddf0dfe

Choose a tag to compare

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

01 Aug 08:06
1e4d216

Choose a tag to compare

1.1

Fix: BBox not working properly for MultiPolygon

1.0

28 Feb 05:35
bfab9b5

Choose a tag to compare

1.0

🎉 Initial Release 🎉

Implements about 1/3 of the total functionality of turf.js.