diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-05-12 17:26:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-12 17:26:12 +0200 |
| commit | ba8663c59c6ecabb78566dda0d387e1f256d38ed (patch) | |
| tree | 2d2de4e3d42647a7d3be256d155bc2762088971f /src/projections/ocea.cpp | |
| parent | 72fc6ab0f5bd74468c0bc4d4f7a851991e6ac16c (diff) | |
| parent | b7f8a012bfd11465af9f95c3d60101539a25219a (diff) | |
| download | PROJ-ba8663c59c6ecabb78566dda0d387e1f256d38ed.tar.gz PROJ-ba8663c59c6ecabb78566dda0d387e1f256d38ed.zip | |
Merge pull request #2212 from rouault/typo_fixes
scripts/fix_typos.sh: fix URLs to dictionaries, and fix typos spotted
Diffstat (limited to 'src/projections/ocea.cpp')
| -rw-r--r-- | src/projections/ocea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projections/ocea.cpp b/src/projections/ocea.cpp index 4fc5391d..de9838cb 100644 --- a/src/projections/ocea.cpp +++ b/src/projections/ocea.cpp @@ -65,12 +65,12 @@ PJ *PROJECTION(ocea) { /*Define Pole of oblique transformation from 1 point & 1 azimuth*/ // ERO: I've added M_PI so that the alpha is the angle from point 1 to point 2 // from the North in a clockwise direction - // (to be consistent with omerc behaviour) + // (to be consistent with omerc behavior) alpha = M_PI + pj_param(P->ctx, P->params, "ralpha").f; lonz = pj_param(P->ctx, P->params, "rlonc").f; /*Equation 9-8 page 80 (http://pubs.usgs.gov/pp/1395/report.pdf)*/ // Actually slightliy modified to use atan2(), as it is suggested by - // Snyder for equation 9-1, but this is not mentionned here + // Snyder for equation 9-1, but this is not mentioned here lam_p = atan2(-cos(alpha) , -sin(P->phi0) * sin(alpha)) + lonz; /*Equation 9-7 page 80 (http://pubs.usgs.gov/pp/1395/report.pdf)*/ phi_p = asin(cos(P->phi0) * sin(alpha)); |
