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 | |
| 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')
| -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) { |
