From c3740aa167367c50bec4ddc0a9594b03c4e49114 Mon Sep 17 00:00:00 2001
From: Bas Couwenberg <sebastic@xs4all.nl>
Date: Tue, 29 Sep 2020 16:42:19 +0200
Subject: [PATCH] Fix spelling errors.

 * regulary  -> regularly
 * precense  -> presence
 * speficier -> specifier
---
 .../AppDescriptors/app/otbHomologousPointsExtraction.cxx      | 2 +-
 .../AppTextures/app/otbPantexTextureExtraction.cxx            | 2 +-
 .../Textures/include/otbScalarImageToPanTexTextureFilter.h    | 4 ++--
 .../ThirdParty/OssimPlugins/src/ossim/ossimTimeUtilities.cpp  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx
index 653c330272..371f7212e9 100644
--- a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx
+++ b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx
@@ -150,7 +150,7 @@ private:
 
     AddChoice("mode.geobins", "Search keypoints in small spatial bins regularly spread across first image");
     SetParameterDescription("mode.geobins",
-                            "This method retrieves a set of tie points regulary spread across image 1. Corresponding bins in image 2 are retrieved using "
+                            "This method retrieves a set of tie points regularly spread across image 1. Corresponding bins in image 2 are retrieved using "
                             "sensor and geographical information if available. The first bin position takes into account the margin parameter. Bins are "
                             "cropped to the largest image region shrunk by the margin parameter for both in1 and in2 images.");
 
diff --git a/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx b/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx
index 83cc933f2d..692a02b7ca 100644
--- a/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx
+++ b/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx
@@ -69,7 +69,7 @@ private:
     SetDocLimitations("None");
 
     SetDocAuthors("OTB-Team");
-    SetDocSeeAlso(" Pesari, M., A. Gerhardinger, F. Kayitakire. 2008.  A robust built-up area precense"
+    SetDocSeeAlso(" Pesari, M., A. Gerhardinger, F. Kayitakire. 2008.  A robust built-up area presence"
       " index by anisotropic rotation-invariant textural measure."
       " IEEE Journal of selected topics in applied earth observations and remote sensing.Vol1, NO3.");
 
diff --git a/Modules/Feature/Textures/include/otbScalarImageToPanTexTextureFilter.h b/Modules/Feature/Textures/include/otbScalarImageToPanTexTextureFilter.h
index b18eb68ec3..5d92f856ec 100644
--- a/Modules/Feature/Textures/include/otbScalarImageToPanTexTextureFilter.h
+++ b/Modules/Feature/Textures/include/otbScalarImageToPanTexTextureFilter.h
@@ -27,14 +27,14 @@
 namespace otb
 {
 /** \class ScalarImageToPanTexTextureFilter
- *  \brief This class computes a texture derived built-up precense index (PanTex)
+ *  \brief This class computes a texture derived built-up presence index (PanTex)
  *
  * This class computes a texture-derived built-up presence index (PanTex) from textural
  * characteristics of scalar images.It is the min value of the contrast in 8 directions.
  *
  * Print references:
  *
- * Pesari, M., A. Gerhardinger, F. Kayitakire. 2008.  A robust built-up area precense
+ * Pesari, M., A. Gerhardinger, F. Kayitakire. 2008.  A robust built-up area presence
  * index by anisotropic rotation-invariant textural measure.
  * IEEE Journal of selected topics in applied earth observations and remote sensing.
  * Vol1, NO3.
diff --git a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimTimeUtilities.cpp b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimTimeUtilities.cpp
index 3abe9aecaa..90688a43e2 100644
--- a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimTimeUtilities.cpp
+++ b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimTimeUtilities.cpp
@@ -83,7 +83,7 @@ ossimDate ossimplugins::time::details::strptime(string_view const& format, strin
                          }
                          break;
                default:
-                  throw std::logic_error("Unsupported date format speficier (in "+format+": "+fmt.front()+")");
+                  throw std::logic_error("Unsupported date format specifier (in "+format+": "+fmt.front()+")");
             }
             break;
          default:
-- 
GitLab