Details
Description
Small projected geometries that wrap the dateline are incorrectly "unwrapped" resulting in artifacts.
The heuristic for detecting coordinates crossing the dateline misses small geometries as their unprojected width will exceed the heuristic's upper limit. As a fallback, the patch checks for the lower limit and if the upper one is crossed, checks the projected line segment.
I would apply this myself, but wanted your review.