diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-21 20:47:05 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-04-21 20:47:05 +0200 |
| commit | 5142bfbf72f859832df3da691dc3e7488839b53c (patch) | |
| tree | 5de71c5e5ec58f7b9e95f638f5a493975ec11ff8 /src | |
| parent | e493a5c17b2ebebb687b1758c0a10c418ffd49d3 (diff) | |
| download | PROJ-5142bfbf72f859832df3da691dc3e7488839b53c.tar.gz PROJ-5142bfbf72f859832df3da691dc3e7488839b53c.zip | |
Typo fixes in code comments [ci skip]
Diffstat (limited to 'src')
| -rw-r--r-- | src/proj_internal.h | 2 | ||||
| -rw-r--r-- | src/projections/adams.cpp | 2 | ||||
| -rw-r--r-- | src/projections/tmerc.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h index e3f2d8db..c600a75e 100644 --- a/src/proj_internal.h +++ b/src/proj_internal.h @@ -748,7 +748,7 @@ struct projCtx_t { int projStringParserCreateFromPROJStringRecursionCounter = 0; // to avoid potential infinite recursion in PROJStringParser::createFromPROJString() - TMercAlgo defaultTmercAlgo = TMercAlgo::PODER_ENGSAGER; // can be overriden by content of proj.ini + TMercAlgo defaultTmercAlgo = TMercAlgo::PODER_ENGSAGER; // can be overridden by content of proj.ini projCtx_t() = default; projCtx_t(const projCtx_t&); diff --git a/src/projections/adams.cpp b/src/projections/adams.cpp index 89eab795..88fce8e5 100644 --- a/src/projections/adams.cpp +++ b/src/projections/adams.cpp @@ -180,7 +180,7 @@ static PJ_XY adams_forward(PJ_LP lp, PJ *P) { static PJ_LP inverse_with_newton_raphson(PJ_XY xy, PJ *P, - PJ_LP lp, // inital guess + PJ_LP lp, // initial guess PJ_XY (*fwd)(PJ_LP, PJ *)) { double deriv_lam_X = 0; diff --git a/src/projections/tmerc.cpp b/src/projections/tmerc.cpp index ff4a8136..1e5fc1a8 100644 --- a/src/projections/tmerc.cpp +++ b/src/projections/tmerc.cpp @@ -609,7 +609,7 @@ static PJ_LP auto_e_inv (PJ_XY xy, PJ *P) { // For k = 1 and lon = 3 (from central meridian), // At lat = 0, we get x ~= 0.052, y = 0 // At lat = 90, we get x = 0, y ~= 1.57 - // And the shape of this x=f(y) frontier curve is very very rougly a + // And the shape of this x=f(y) frontier curve is very very roughly a // parabola. Hence: if( fabs(xy.x) > 0.053 - 0.022 * xy.y * xy.y ) return exact_e_inv(xy, P); |
