feat(@turf/boolean-contains): Add MultiPolygon support#2338
feat(@turf/boolean-contains): Add MultiPolygon support#2338rowanwins merged 1 commit intoTurfjs:masterfrom
Conversation
|
@rowanwins hi! When is this going to be released? |
|
Hi @antonmelbardis - this should now be available in 7.0.0-alpha.0 which is available on npm |
|
@rowanwins thank you sir! |
|
fyi- still getting |
|
@rowanwins @nick-romano yeah, the issue is still there unfortunately |
@antonmelbardis @nick-romano The PR implemented ➡️ It's only possible to check wether a Polygon is contained by a MultiPolygon and not vice-versa. |
|
I'm looking for point(MultiPolygon, Point), but maybe there's another way to accomplish that. Found it! booleanPointInPolygon(). This function could be worth a mention from the booleanContains() docs. |
Adds support for MultiPolygons to
booleanContains().Closes #2337
Please fill in this template.
npm testat the sub modules where changes have occurred.npm run lintto ensure code style at the turf module level.