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

Fuzz more projection boundaries to work with proj >= 5 #1148

Merged
merged 5 commits into from
Oct 15, 2018

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Oct 14, 2018

So I missed a few projections in #1124 that use a projection of min/max longitudes to determine the boundary. They are currently broken with proj5.

This fixes those projections and adds some tests so that they won't break again.

You can't just check the bounds, because the projected longitudinal
limits produce a wedge, so if they're in the wrong place, the bounds are
still the same. Instead, check that the entirety of the boundary is the
same as the default.
I do not know the correct values, but these simply codify the results as
they currently are.
These all use projections of min/max longitude that suffer from the new
proj wraparound behaviour. But they never had tests until now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants