diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-25 16:18:58 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-25 16:18:58 +0100 |
| commit | 64312b33672a1c24feefa5127f91666f3b25f583 (patch) | |
| tree | 6e51c947c0b610664d41045a107be6f7ef334625 /src | |
| parent | 32f92851c0028e1ff6d5203d34c7ded1ffe1951a (diff) | |
| download | PROJ-64312b33672a1c24feefa5127f91666f3b25f583.tar.gz PROJ-64312b33672a1c24feefa5127f91666f3b25f583.zip | |
Fix typos spotted by scripts/fix_typos.sh
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/coordinateoperation.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/factory.cpp | 4 | ||||
| -rw-r--r-- | src/projections/ortho.cpp | 2 | ||||
| -rw-r--r-- | src/transformations/defmodel.hpp | 6 | ||||
| -rw-r--r-- | src/transformations/defmodel_impl.hpp | 4 | ||||
| -rw-r--r-- | src/transformations/tinshift.hpp | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp index 82ec4f30..19586a59 100644 --- a/src/iso19111/coordinateoperation.cpp +++ b/src/iso19111/coordinateoperation.cpp @@ -11453,7 +11453,7 @@ struct SortFunction { // "Amersfoort to WGS 84 (3)", which is probably a better guess. // Except for French NTF (Paris) to NTF, where the (1) conversion - // should be preferred because in the remarks of (2), it is mentionned + // should be preferred because in the remarks of (2), it is mentioned // OGP prefers value from IGN Paris (code 1467)... if (a_name.find("NTF (Paris) to NTF (1)") != std::string::npos && b_name.find("NTF (Paris) to NTF (2)") != std::string::npos) { diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 08b627b2..5d02aeea 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -5703,9 +5703,9 @@ AuthorityFactory::createObjectsFromName( //! @cond Doxygen_Suppress /** \brief Return a list of objects, identifier by their name, with the name - * on which the match occured. + * on which the match occurred. * - * The name on which the match occured might be different from the object name, + * The name on which the match occurred might be different from the object name, * if the match has been done on an alias name of that object. * * @param searchedName Searched name. Must be at least 2 character long. diff --git a/src/projections/ortho.cpp b/src/projections/ortho.cpp index 75b8199d..8dcfb53c 100644 --- a/src/projections/ortho.cpp +++ b/src/projections/ortho.cpp @@ -223,7 +223,7 @@ static PJ_LP ortho_e_inverse (PJ_XY xy, PJ *P) { /* Ellipsoidal, inver // Using Q->sinph0 * sinphi + Q->cosph0 * cosphi * coslam == 0 (visibity // condition of the forward case) in the forward equations, and a lot of - // substition games... + // substitution games... PJ_XY xy_recentered; xy_recentered.x = xy.x; xy_recentered.y = (xy.y - Q->y_shift) / Q->y_scale; diff --git a/src/transformations/defmodel.hpp b/src/transformations/defmodel.hpp index 642213b7..1b0005b1 100644 --- a/src/transformations/defmodel.hpp +++ b/src/transformations/defmodel.hpp @@ -181,7 +181,7 @@ class Component { /** Get the spatial model. */ const SpatialModel &spatialModel() const { return mSpatialModel; } - /** Generic type for a type functon */ + /** Generic type for a type function */ struct TimeFunction { std::string type{}; @@ -369,13 +369,13 @@ class MasterFile { * models. Typically "EPSG:XXXX" */ const std::string &definitionCRS() const { return mDefinitionCRS; } - /** Get the nominal reference epoch of the deformation model. Formated + /** Get the nominal reference epoch of the deformation model. Formatted * as a ISO-8601 date-time. This is not necessarily used to calculate * the deformation model - each component defines its own time function. */ const std::string &referenceEpoch() const { return mReferenceEpoch; } /** Get the epoch at which the uncertainties of the deformation model - * are calculated. Formated as a ISO-8601 date-time. */ + * are calculated. Formatted as a ISO-8601 date-time. */ const std::string &uncertaintyReferenceEpoch() const { return mUncertaintyReferenceEpoch; } diff --git a/src/transformations/defmodel_impl.hpp b/src/transformations/defmodel_impl.hpp index a15137d7..abd07286 100644 --- a/src/transformations/defmodel_impl.hpp +++ b/src/transformations/defmodel_impl.hpp @@ -1232,7 +1232,7 @@ bool Evaluator<Grid, GridSet, EvaluatorIface>::inverse( constexpr bool forInverseComputation = true; for (int i = 0; i < 10; i++) { #ifdef DEBUG_DEFMODEL - iface.log("Iteration " + std::to_string(i) + ": before foward: x=" + + iface.log("Iteration " + std::to_string(i) + ": before forward: x=" + toString(x_out) + ", y=" + toString(y_out)); #endif double x_new; @@ -1243,7 +1243,7 @@ bool Evaluator<Grid, GridSet, EvaluatorIface>::inverse( return false; } #ifdef DEBUG_DEFMODEL - iface.log("After foward: x=" + toString(x_new) + ", y=" + + iface.log("After forward: x=" + toString(x_new) + ", y=" + toString(y_new)); #endif const double dx = x_new - x; diff --git a/src/transformations/tinshift.hpp b/src/transformations/tinshift.hpp index 7cebab9f..cc8771b3 100644 --- a/src/transformations/tinshift.hpp +++ b/src/transformations/tinshift.hpp @@ -239,7 +239,7 @@ class Evaluator { private: std::unique_ptr<TINShiftFile> mFile; - // Reused between invokations to save memory allocations + // Reused between invocations to save memory allocations std::vector<unsigned> mTriangleIndices{}; std::unique_ptr<NS_PROJ::QuadTree::QuadTree<unsigned>> mQuadTreeForward{}; |
