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

Hotine Oblique Mercator, Azimuth=0, projection initialization failure #195

proj4-bot opened this issue May 22, 2015 · 1 comment


Copy link

Reported by berwyn on 31 Oct 2012 08:33 UTC
Setting the azimuth to 0
throws an error, using a small value 0.0001 is ok

As suggested by Frank, removing the following tolerance test src/pj_omerc.c, resolves the problem

if ((con = fabs(alpha_c)) <= TOL ||
 fabs(con - PI) <= TOL ||
 fabs(fabs(P->phi0) - HALFPI) <= TOL)


Copy link

Comment by berwyn on 5 Jan 2013 01:36 UTC
Any word if a update/fix has been applied?

@kbevers kbevers modified the milestones: 4.10.0, 4.8.0 Oct 18, 2016
@kbevers kbevers closed this as completed Oct 18, 2016
rouault added a commit to rouault/PROJ that referenced this issue Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants