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

Spherical tmerc forward: do not restrict to [-90,90] longitude range #2471

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

rouault
Copy link
Member

@rouault rouault commented Nov 29, 2020

The restriction was a copy&paste from the Evenden/Snyder approximate
ellipsoidal implementation, but the spherical one is exact, so this
restriction isn't needed.

Also tune a bit the handling of lat=0, |lon| > 90

@cffk does that look good to you ?

@rouault rouault added this to the 8.0.0 milestone Nov 29, 2020
The restriction was a copy&paste from the Evenden/Snyder approximate
ellipsoidal implementation, but the spherical one is exact, so this
restriction isn't needed.

Also tune a bit the handling of lat=0, |lon| > 90
@rouault rouault force-pushed the extent_spherical_tmerc_domain branch from 4770830 to 284feec Compare November 29, 2020 19:57
@cffk
Copy link
Contributor

cffk commented Nov 30, 2020

Yes, this is fine. I only gave it a cursory look, though!

@rouault rouault merged commit e9f7439 into OSGeo:master Nov 30, 2020
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.

2 participants