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

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

Comments

Projects
None yet
2 participants
@proj4-bot

proj4-bot commented May 22, 2015

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)
 E_ERROR(-32);

Migrated-From: https://trac.osgeo.org/proj/ticket/195

@proj4-bot proj4-bot added this to the 4.8.0 milestone May 22, 2015

@proj4-bot

This comment has been minimized.

proj4-bot commented May 22, 2015

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

@proj4-bot proj4-bot added C: Core and removed C: default labels May 22, 2015

@kbevers kbevers added P: trivial and removed P: major labels Oct 18, 2016

kbevers added a commit that referenced this issue Oct 18, 2016

@kbevers kbevers modified the milestones: 4.10.0, 4.8.0 Oct 18, 2016

@kbevers kbevers closed this Oct 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment