Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Nov 15, 2019

Relates: elastic/elasticsearch#43893

This commit removes the bound checks on latitude and longitude on GeoLocation (and the derived GeoCoordinate), to allow values outside of the -90 to 90, and -180 to 180 ranges, respecitvely.

Relates: elastic/elasticsearch#43893

This commit removes the bound checks on latitude and longitude on GeoLocation (and the derived GeoCoordinate), to allow values outside of the -90 to 90, and -180 to 180 ranges, respecitvely.

return null;
}
// TODO: Remove in 8.0 as without bounds checks, provides no value
Copy link
Contributor

Choose a reason for hiding this comment

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

++

Copy link
Contributor

@codebrain codebrain left a comment

Choose a reason for hiding this comment

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

LGTM

@russcam russcam merged commit 29d68b2 into 7.x Nov 15, 2019
russcam added a commit that referenced this pull request Nov 15, 2019
Relates: elastic/elasticsearch#43893

This commit removes the bound checks on latitude and longitude on GeoLocation (and the derived GeoCoordinate), to allow values outside of the -90 to 90, and -180 to 180 ranges, respecitvely.

(cherry picked from commit 29d68b2)
russcam added a commit that referenced this pull request Nov 15, 2019
Relates: elastic/elasticsearch#43893

This commit removes the bound checks on latitude and longitude on GeoLocation (and the derived GeoCoordinate), to allow values outside of the -90 to 90, and -180 to 180 ranges, respecitvely.

(cherry picked from commit 29d68b2)
@russcam
Copy link
Contributor Author

russcam commented Nov 15, 2019

ported to 7.4 and master; port to master removed the TryCreate method

@Mpdreamz Mpdreamz deleted the feature/lat-lon-checks branch February 10, 2020 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants