Skip to content
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

Event bbox does not handle crossing the anit-meridian #22

Closed
pwoods25443 opened this issue Dec 13, 2018 · 0 comments
Closed

Event bbox does not handle crossing the anit-meridian #22

pwoods25443 opened this issue Dec 13, 2018 · 0 comments
Assignees

Comments

@pwoods25443
Copy link
Member

When Min, Max and Avg are computed for lat/lon in events, we do not take into consideration events that span the antimeridian.

for example, an event containing the points:

lat lon
0 -178
1 -179
1 179
0 178

will have

MIN(lon) = -179
MAX(lon) = 179
AVG(lon) = 0

when what we want is

MIN(lon) = -178
MAX(lon) = 178
AVG(lon) = 180 (or -180)

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

No branches or pull requests

2 participants