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

Grid box selection not working between 1W and 0 degrees longitude #213

Open
ebarry opened this issue Nov 26, 2019 · 0 comments
Open

Grid box selection not working between 1W and 0 degrees longitude #213

ebarry opened this issue Nov 26, 2019 · 0 comments

Comments

@ebarry
Copy link
Member

ebarry commented Nov 26, 2019

Continued from publiclab/plots2#6697 (comment)

The Problem

In the map picker, i was unable to choose the square for London, see gif below. The problem with the red highlight "skipping" over certain areas seems to be happening to certain longitudes, namely between 1W and 0 degrees longitude. Is there perhaps a math error involved? @jywarren observed that:

the algorithm to draw the boxes is probably is not set
up for the special case of a box where one longitude is ~359 and the other
~0. Thanks!

68313983-7745cb80-0083-11ea-9acf-27df6351117d

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

1 participant