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

Feature: Check for correct WKT coordinate ordering #66

Open
scottstanie opened this issue Jul 9, 2024 · 0 comments
Open

Feature: Check for correct WKT coordinate ordering #66

scottstanie opened this issue Jul 9, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@scottstanie
Copy link

I was using earthaccess to search for some data, and I noticed that when I accidentally flipped the left/right coordinates in the bounding box, instead of an error being raised, it formed a polygon stretching the ~179 degrees around the Earth in the other direction.

The asf_search library raises a warning (and also repairs the winding direction) of your WKT when this happens, which is how I caught the mistake. Perhaps raising a warning that you may be entering the wrong coordinates during a search could be helpful?

@frankinspace frankinspace added enhancement New feature or request good first issue Good for newcomers labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants