dartclub / turf_dart

A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
https://pub.dev/packages/turf
MIT License
62 stars 28 forks source link

Implement difference, union, intersects, inverseDifference, xor, etc. by using poly_bool_dart and turfJS as a blueprint #166

Open lukas-h opened 5 months ago

lukas-h commented 5 months ago

old conversation: https://github.com/dartclub/turf_dart/issues/1#issuecomment-1934686005

lukas-h commented 5 months ago

other libs as a blueprint:

lukas-h commented 4 months ago

I have implemented the difference method "ugly":

https://github.com/opendata-nuernberg/soil_unsealing_potential/tree/main/polygon_analyzer/lib/turf

lukas-h commented 4 months ago

170 works on this issue

simplylizz commented 2 months ago

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.

lukas-h commented 2 months ago

@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