Implement difference, union, intersects, inverseDifference, xor, etc. by using poly_bool_dart and turfJS as a blueprint
old conversation: https://github.com/dartclub/turf_dart/issues/1#issuecomment-1934686005
other libs as a blueprint:
- https://github.com/mohammedX6/poly_bool_dart
- https://turfjs.org/docs/#difference (different npm packages from turf)
I have implemented the difference method "ugly":
https://github.com/opendata-nuernberg/soil_unsealing_potential/tree/main/polygon_analyzer/lib/turf
#170 works on this issue
Hello,
Is there any chance that #170 will be merged soon? I've managed to use polybool for the same purpose, but to be honest converting between two libraries is quite annoying and also, polybool doesn't support directly multipolygons, so I need to union them first, what is also could be a resource-consuming operation and by some reason doesn't always work well.
@simplylizz the functionality is mostly ready except for some testing. See #170. that branch could already be used.
if you want to have a more in depth discussion with @jsiedentop @aardrop and me, and where we also share the progress, please checkout our discord https://discord.gg/CybDg4Pe