diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-05-09 18:48:10 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-05-09 18:48:10 +0200 |
| commit | b7f8a012bfd11465af9f95c3d60101539a25219a (patch) | |
| tree | 52ab65d8d68944ca9b6eb582064f372578e67636 /src/projections/ocea.cpp | |
| parent | f291c50f17dcf4f4657aadbf8b4a38df6fa98731 (diff) | |
| download | PROJ-b7f8a012bfd11465af9f95c3d60101539a25219a.tar.gz PROJ-b7f8a012bfd11465af9f95c3d60101539a25219a.zip | |
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)); |
