diff options
| -rwxr-xr-x | scripts/fix_typos.sh | 2 | ||||
| -rw-r--r-- | src/apps/cs2cs.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/coordinateoperation.cpp | 6 | ||||
| -rw-r--r-- | src/iso19111/factory.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/io.cpp | 2 | ||||
| -rw-r--r-- | test/unit/test_operation.cpp | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh index e8670700..8ba4c09a 100755 --- a/scripts/fix_typos.sh +++ b/scripts/fix_typos.sh @@ -46,7 +46,7 @@ if ! test -d fix_typos; then cd .. fi -EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*" +EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*,./include/proj/internal/nlohmann/json.hpp,*.before_reformat" WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT" python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \ 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," diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index 01ebf219..2bf46601 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -8276,7 +8276,7 @@ TEST(operation, createOperation_ossfuzz_18587) { auto src = nn_dynamic_pointer_cast<CRS>(objSrc); ASSERT_TRUE(src != nullptr); - // Extremly weird string ! We should likely reject it + // Extremely weird string ! We should likely reject it auto objDst = PROJStringParser().createFromPROJString( "type=crs proj=pipeline step proj=merc vunits=m nadgrids=@x " "proj=\"\nproj=pipeline step\n\""); |
