Skip to content

Fix geo normalization for ranges and points #1998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ofavre
Copy link

@ofavre ofavre commented Jun 1, 2012

Geo normalization of latitude was not properly performed.
90°lat is the north pole, and +1°lat beyond is still the north pole,
not the south pole.
Latitude should not be wrapped like longitude but rather reflected,
accompanied with a +180°lon shift.

Normalizing ranges cannot be performed by normalizing its top-left
and bottom-right points, but must be split into multiple ranges.

And two "qeo"->"geo" type fixes as bonuses.

Note: There is still a problem with GeoPolygon, like for ranges,
      but I'll fix this in a separate commit.

See elasticsearch/elasticsearch issue elastic#1997.
@kimchy
Copy link
Member

kimchy commented Jun 14, 2012

See #2024.

@chilling
Copy link
Contributor

see #3149

@chilling chilling closed this Jul 16, 2013
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