aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/apps/cs2cs.cpp2
-rw-r--r--src/iso19111/coordinateoperation.cpp6
-rw-r--r--src/iso19111/factory.cpp2
-rw-r--r--src/iso19111/io.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/apps/cs2cs.cpp b/src/apps/cs2cs.cpp
index ed885dc6..273233a7 100644
--- a/src/apps/cs2cs.cpp
+++ b/src/apps/cs2cs.cpp
@@ -117,7 +117,7 @@ static void process(FILE *fid)
/* To avoid breaking existing tests, we read what is a possible t */
/* component of the input and rewind the s-pointer so that the final */
- /* output has consistant behaviour, with or without t values. */
+ /* output has consistent behaviour, with or without t values. */
/* This is a bit of a hack, in most cases 4D coordinates will be */
/* written to STDOUT (except when using -E) but the output format */
/* speficied with -f is not respected for the t component, rather it */
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 4da54a41..860b9a01 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -7994,7 +7994,7 @@ TransformationNNPtr Transformation::inverseAsTransformation() const {
}
#ifdef notdef
- // We dont need that currently, but we might...
+ // We don't need that currently, but we might...
if (methodEPSGCode == EPSG_CODE_METHOD_HEIGHT_DEPTH_REVERSAL) {
return d->registerInv(
shared_from_this(),
@@ -13170,7 +13170,7 @@ void CoordinateOperationFactory::Private::
}
// NAD83 only exists in 2D version in EPSG, so if it has been
- // promotted to 3D, when researching a vertical to geog
+ // promoted to 3D, when researching a vertical to geog
// transformation, try to down cast to 2D.
const auto geog3DToVertTryThroughGeog2D = [&res, &context](
const crs::GeographicCRS *geogSrcIn, const crs::VerticalCRS *vertDstIn,
@@ -14103,7 +14103,7 @@ void CoordinateOperationFactory::Private::createOperationsCompoundToGeog(
}
} else {
// This case is probably only correct if
- // verticalTransform and horizTransform are independant
+ // verticalTransform and horizTransform are independent
// and in particular that verticalTransform does not
// involve a grid, because of the rather arbitrary order
// horizontal then vertical applied
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp
index 01b4c4e7..57850303 100644
--- a/src/iso19111/factory.cpp
+++ b/src/iso19111/factory.cpp
@@ -2386,7 +2386,7 @@ AuthorityFactory::createConversion(const std::string &code) const {
if (res.empty()) {
try {
// Conversions using methods Change of Vertical Unit or
- // Height Depth Reveral are stored in other_transformation
+ // Height Depth Reversal are stored in other_transformation
auto op = createCoordinateOperation(
code, false /* allowConcatenated */,
false /* usePROJAlternativeGridNames */,
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp
index 4d9e8633..678c5d98 100644
--- a/src/iso19111/io.cpp
+++ b/src/iso19111/io.cpp
@@ -3957,7 +3957,7 @@ CRSNNPtr WKTParser::Private::buildVerticalCRS(const WKTNodeNNPtr &node) {
// This is the expansion of EPSG:5703 by old GDAL versions.
// See
// https://trac.osgeo.org/metacrs/changeset?reponame=&new=2281%40geotiff%2Ftrunk%2Flibgeotiff%2Fcsv%2Fvertcs.override.csv&old=1893%40geotiff%2Ftrunk%2Flibgeotiff%2Fcsv%2Fvertcs.override.csv
- // It is unlikely that the user really explictly wants this.
+ // It is unlikely that the user really explicitly wants this.
if (gridName != "g2003conus.gtx,g2003alaska.gtx,"
"g2003h01.gtx,g2003p01.gtx" &&
gridName != "g2012a_conus.gtx,g2012a_alaska.gtx,"