Skip to content

Conversation

@iverase
Copy link
Contributor

@iverase iverase commented Jun 8, 2021

The refactor in #71696 introduced a bug where computing the centroid of a shape is done on the original shape. Therefore for shapes that crosses the dateline, the computation of the centroid might be wrong.

This PR reverts that part of the logic again so the centroid is computed on the processed shape.

backport of #73856

@iverase iverase merged commit 34124dc into elastic:7.x Jun 8, 2021
@iverase iverase deleted the backport73856 branch June 8, 2021 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant