aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/proj_internal.h2
-rw-r--r--src/projections/adams.cpp2
-rw-r--r--src/projections/tmerc.cpp2
-rw-r--r--test/unit/test_c_api.cpp2
-rw-r--r--test/unit/test_io.cpp2
5 files changed, 5 insertions, 5 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);
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index 9e477ef3..e56fb39c 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -1630,7 +1630,7 @@ TEST_F(CApi, proj_create_operations_allow_ballpark_transformations) {
EXPECT_EQ(proj_list_get_count(res), 1);
}
- // Allow explictly
+ // Allow explicitly
{
proj_operation_factory_context_set_allow_ballpark_transformations(
m_ctxt, ctxt, true);
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp
index da26aa2d..54827046 100644
--- a/test/unit/test_io.cpp
+++ b/test/unit/test_io.cpp
@@ -9746,7 +9746,7 @@ TEST(io, createFromUserInput) {
}
{
- // Aproximate match on each piece of the compound CRS
+ // Approximate match on each piece of the compound CRS
auto obj = createFromUserInput("WGS84 + EGM96", dbContext);
auto crs = nn_dynamic_pointer_cast<CompoundCRS>(obj);
ASSERT_TRUE(crs != nullptr);