You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@turf/boolean-contains Boolean-contains returns True if the second geometry is completely contained by the first geometry. The interiors of both geometries must intersect and, the interior and boundary of the secondary (geometry b) must not intersect the exterior of the primary (geometry a). Boolean-contains returns the exact opposite result of the @turf/boolean-within.
(PR turf/booleanContains #797 - Author @rowanwins)
@turf/boolean-crosses Boolean-Crosses returns True if the intersection results in a geometry whose dimension is one less than the maximum dimension of the two source geometries and the intersection set is interior to both source geometries.
Boolean-Crosses returns t (TRUE) for only multipoint/polygon, multipoint/linestring, linestring/linestring, linestring/polygon, and linestring/multipolygon comparisons.
(PR @turf/booleanCrosses #796 - Author @rowanwins)
@turf/clone Prevents GeoJSON coordinates from being mutated, similar to JSON.parse(JSON.stringify(geojson)).
Only cloning the coordinates can be 3x-20x faster than the parse + stringify approach.
(PR Implement Clone module #824 - Author @DenisCarriere)
@stebogit Ops.. never published @turf/clusters to the main @turf/turf index.js... on a positive side, I guess renaming this module won't be a breaking change anymore.
New minor release! Turf 4.5.2 🎉
TurfJS releases are being tracked using Milestones.
Contributors
🚀 New Modules
@turf/clusters
Takes a set of points and partition them into clusters using the k-means clustering algorithm.(PR New module @turf/clusters #787 - Author @stebogit )
@turf/boolean-disjoint
Boolean-disjoint returns (TRUE) if the intersection of the two geometries is an empty set.(PR New module
@turf/boolean-disjoint
#805 - Author @rowanwins)@turf/boolean-contains
Boolean-contains returns True if the second geometry is completely contained by the first geometry. The interiors of both geometries must intersect and, the interior and boundary of the secondary (geometry b) must not intersect the exterior of the primary (geometry a). Boolean-contains returns the exact opposite result of the@turf/boolean-within
.(PR turf/booleanContains #797 - Author @rowanwins)
@turf/boolean-crosses
Boolean-Crosses returns True if the intersection results in a geometry whose dimension is one less than the maximum dimension of the two source geometries and the intersection set is interior to both source geometries.Boolean-Crosses returns t (TRUE) for only multipoint/polygon, multipoint/linestring, linestring/linestring, linestring/polygon, and linestring/multipolygon comparisons.
(PR @turf/booleanCrosses #796 - Author @rowanwins)
@turf/boolean-clockwise
Takes a ring and return true or false whether or not the ring is clockwise or counter-clockwise.(PR New module @turf/boolean-clockwise #789 - Authors @morganherlocker @stebogit)
@turf/clone
Prevents GeoJSON coordinates from being mutated, similar toJSON.parse(JSON.stringify(geojson))
.Only cloning the coordinates can be 3x-20x faster than the parse + stringify approach.
(PR Implement Clone module #824 - Author @DenisCarriere)
🏅 New Features/Enhancements
convertArea
Converts a area to the requested unit. (PR adding convertArea function #821 - Author @wnordmann)@turf/point-grid
(PR Adds mask option to@turf/point-grid
#791)🐛 Bug Fixes
@turf/idw
bad property name @turf/idw bad property name #774 (PR Fixes@turf/idw
bad property name #774 #800)Twitter: https://twitter.com/DenisCarriere/status/880839653242408961
CC: @Turfjs/ownership
Ref: #825
The text was updated successfully, but these errors were encountered: