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
@bdon pointed out this project https://github.com/micycle1/Clipper2-java which seems like it might have faster implementations of expensive JTS polygon union and buffer/unbuffer operations (including ones that work in integer coordinates). Together these JTS operations are responsible for about 45% of overall CPU time (20% for snap/fix, and 25% for buffer/unbuffer)
The text was updated successfully, but these errors were encountered:
I did a quick test trying to use it for snapAndFixPolygon and bufferUnionUnbuffer in FeatureMerge and it looks like it does what we want most of the time, but it doesn't appear to fix single-point self-intersections, has inconsistent order for output winding, and visible artifacts when rendered with maplibre gl:
I might not have been using the library correctly. Here's what I tried for snapAndFixPolygon 2081893 and for bufferUnionUnbuffer:
@bdon pointed out this project https://github.com/micycle1/Clipper2-java which seems like it might have faster implementations of expensive JTS polygon union and buffer/unbuffer operations (including ones that work in integer coordinates). Together these JTS operations are responsible for about 45% of overall CPU time (20% for snap/fix, and 25% for buffer/unbuffer)
The text was updated successfully, but these errors were encountered: