Skip to content

Conversation

@imotov
Copy link
Contributor

@imotov imotov commented Aug 15, 2018

Fixes an overflow error in GeoHashUtils.bbox() calculation of a
bounding box for geohashes with maximum precision located next to the
north pole.

Closes #32857

Fixes an overflow error in  GeoHashUtils.bbox() calculation of a
bounding box for geohashes with maximum precision located next to the
north pole.

Closes elastic#32857
@imotov imotov added >bug :Analytics/Geo Indexing, search aggregations of geo points and shapes v7.0.0 v6.5.0 v6.4.1 labels Aug 15, 2018
@imotov imotov requested a review from nknize August 15, 2018 22:36
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@iverase
Copy link
Contributor

iverase commented Aug 16, 2018

I wonder, if in case of overflow, we should set manually the final topRight latitude to 90 degrees, which somewhat is what it means.

Copy link
Contributor

@nknize nknize left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imotov imotov merged commit 3973bb4 into elastic:master Aug 21, 2018
imotov added a commit that referenced this pull request Aug 21, 2018
Fixes an overflow error in  GeoHashUtils.bbox() calculation of a
bounding box for geohashes with maximum precision located next to the
north pole.
imotov added a commit that referenced this pull request Aug 21, 2018
Fixes an overflow error in  GeoHashUtils.bbox() calculation of a
bounding box for geohashes with maximum precision located next to the
north pole.
@polyfractal
Copy link
Contributor

Looks like this was backported to all desired branches (master, 6.5.x, 6.4.x). Removing backport label. :)

@imotov imotov deleted the issue-32857-geohashutils-bbox-north-pole-overflow branch May 1, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes >bug v6.4.1 v6.5.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants