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 | |
| 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')
| -rw-r--r-- | src/projections/isea.cpp | 2 | ||||
| -rw-r--r-- | src/projections/ocea.cpp | 4 | ||||
| -rw-r--r-- | src/projections/tmerc.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/projections/isea.cpp b/src/projections/isea.cpp index 1ebbeebb..dd1d48ff 100644 --- a/src/projections/isea.cpp +++ b/src/projections/isea.cpp @@ -322,7 +322,7 @@ static int isea_snyder_forward(struct isea_geo * ll, struct isea_pt * out) /* * spherical distance from center of polygon face to any of its - * vertexes on the globe + * vertices on the globe */ double g; 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)); diff --git a/src/projections/tmerc.cpp b/src/projections/tmerc.cpp index 1e5fc1a8..3a58fc02 100644 --- a/src/projections/tmerc.cpp +++ b/src/projections/tmerc.cpp @@ -286,7 +286,7 @@ static PJ *setup_approx(PJ *P) { // /*****************************************************************************/ -/* Helper functios for "exact" transverse mercator */ +/* Helper functions for "exact" transverse mercator */ inline static double gatg(const double *p1, int len_p1, double B, double cos_2B, double sin_2B) { double h = 0, h1, h2 = 0; @@ -750,7 +750,7 @@ PJ *PROJECTION(etmerc) { /* UTM uses the Poder/Engsager implementation for the underlying projection */ -/* UNLESS +approx is set in which case the Evenden/Snyder implemenation is used. */ +/* UNLESS +approx is set in which case the Evenden/Snyder implementation is used. */ PJ *PROJECTION(utm) { long zone; if (P->es == 0.0) { |
