Slice script now clips to tile box if flag is set

This commit is contained in:
Pieter Vander Vennet 2023-01-26 01:41:21 +01:00
parent b88bb5b6d0
commit 8cf3b88172
2 changed files with 163 additions and 133 deletions

View file

@ -783,4 +783,14 @@ export class GeoOperations {
): boolean {
return booleanWithin(feature, possiblyEncloingFeature)
}
/**
* Create a union between two features
*/
static union = turf.union
/**
* Create an intersection between two features
*/
static intersect = turf.intersect
}