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
We can possibly use turf-envelope to index a feature's bounding box. It's possible to get a degenerate polygon out of turf-envelope, so we'd still need to do some validation. If we commit to simplifying all indexed polygons/multipolygons, then we start with computing the envelope. If the area is 0, we can index the centroid instead. The envelope is always a rectangular polygon, so we won't encounter weird zero-width arms. It should either be valid or have zero area.
https://github.com/Turfjs/turf-simplify
https://github.com/Turfjs/turf-kinks
We need to confirm that the libraries behave well with problematic parcels that we've encountered in the past.
The text was updated successfully, but these errors were encountered: