From 30b55712719bbee182a0ff4f473f2941d1c98b98 Mon Sep 17 00:00:00 2001
From: Bas Couwenberg <sebastic@debian.org>
Date: Fri, 29 Jul 2016 15:21:30 +0200
Subject: [PATCH] BUG 1259: Spelling patch from debian

---
 .../AppClassification/app/otbSampleExtraction.cxx           | 2 +-
 .../AppClassification/app/otbSampleSelection.cxx            | 4 ++--
 Modules/Filtering/Statistics/include/otbPatternSampler.h    | 2 +-
 Modules/Filtering/Statistics/include/otbPeriodicSampler.h   | 2 +-
 Modules/Filtering/Statistics/include/otbRandomSampler.h     | 2 +-
 Modules/Filtering/Wavelet/src/otbWaveletGenerator.cxx       | 6 +++---
 .../MPITiffWriter/include/otbSimpleParallelTiffWriter.txx   | 2 +-
 .../OssimPlugins/src/ossim/ossimSentinel1Model.cpp          | 2 +-
 .../OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp | 2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx b/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
index 64bd94ae46..440342fa06 100644
--- a/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
+++ b/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
@@ -146,7 +146,7 @@ private:
       }
     else
       {
-      otbAppLogFATAL("Unkown output field option : " << this->GetParameterString("outfield"));
+      otbAppLogFATAL("Unknown output field option : " << this->GetParameterString("outfield"));
       }
     
 
diff --git a/Modules/Applications/AppClassification/app/otbSampleSelection.cxx b/Modules/Applications/AppClassification/app/otbSampleSelection.cxx
index b59bac60bd..11654d06a7 100644
--- a/Modules/Applications/AppClassification/app/otbSampleSelection.cxx
+++ b/Modules/Applications/AppClassification/app/otbSampleSelection.cxx
@@ -104,7 +104,7 @@ private:
       "  - layer : index specifying from which layer to pick geometries.\n"
       "  - field : set the field name containing the class.\n"
       "  - mask : an optional raster mask can be used to discard samples.\n"
-      "  - outrates : allows to output a CSV file that summarizes the sampling rates for each class.\n"
+      "  - outrates : allows outputting a CSV file that summarizes the sampling rates for each class.\n"
       
       "\nAs with the PolygonClassStatistics application, different types  of geometry are supported : "
       "polygons, lines, points. \nThe behavior of this application is different for each type of geometry :\n"
@@ -134,7 +134,7 @@ private:
     SetParameterDescription("instats","Input file storing statistics (XML format)");
 
     AddParameter(ParameterType_OutputFilename, "outrates", "Output rates");
-    SetParameterDescription("outrates","Output rates (CSV formated)");
+    SetParameterDescription("outrates","Output rates (CSV formatted)");
     MandatoryOff("outrates");
 
     AddParameter(ParameterType_Choice, "sampler", "Sampler type");
diff --git a/Modules/Filtering/Statistics/include/otbPatternSampler.h b/Modules/Filtering/Statistics/include/otbPatternSampler.h
index f8e28ce0af..e341f1ef7e 100644
--- a/Modules/Filtering/Statistics/include/otbPatternSampler.h
+++ b/Modules/Filtering/Statistics/include/otbPatternSampler.h
@@ -28,7 +28,7 @@ namespace otb
  *
  * \brief Periodic sampler for iteration loops
  * 
- * This class allows to do periodic sampling during an iteration loop.
+ * This class allows doing periodic sampling during an iteration loop.
  *
  * \ingroup OTBStatistics
  */
diff --git a/Modules/Filtering/Statistics/include/otbPeriodicSampler.h b/Modules/Filtering/Statistics/include/otbPeriodicSampler.h
index a7e0730475..64b12e111b 100644
--- a/Modules/Filtering/Statistics/include/otbPeriodicSampler.h
+++ b/Modules/Filtering/Statistics/include/otbPeriodicSampler.h
@@ -28,7 +28,7 @@ namespace otb
  *
  * \brief Periodic sampler for iteration loops
  * 
- * This class allows to do periodic sampling during an iteration loop.
+ * This class allows doing periodic sampling during an iteration loop.
  *
  * \ingroup OTBStatistics
  */
diff --git a/Modules/Filtering/Statistics/include/otbRandomSampler.h b/Modules/Filtering/Statistics/include/otbRandomSampler.h
index 205f791cec..e132c6bee1 100644
--- a/Modules/Filtering/Statistics/include/otbRandomSampler.h
+++ b/Modules/Filtering/Statistics/include/otbRandomSampler.h
@@ -28,7 +28,7 @@ namespace otb
  *
  * \brief Random sampler for iteration loops
  * 
- * This class allows to do random sampling during an iteration loop.
+ * This class allows doing random sampling during an iteration loop.
  * It uses the MersenneTwisterRandomGenerator.
  *
  * \ingroup OTBStatistics
diff --git a/Modules/Filtering/Wavelet/src/otbWaveletGenerator.cxx b/Modules/Filtering/Wavelet/src/otbWaveletGenerator.cxx
index a70046adc7..c2f4c74245 100644
--- a/Modules/Filtering/Wavelet/src/otbWaveletGenerator.cxx
+++ b/Modules/Filtering/Wavelet/src/otbWaveletGenerator.cxx
@@ -36,7 +36,7 @@ WaveletGenerator<TMotherWaveletOperator>
 {
   std::ostringstream msg;
   msg << "The mother wavelet ID " << TMotherWaveletOperator;
-  msg << " is unkown or has to be implemented...\n";
+  msg << " is unknown or has to be implemented...\n";
   throw itk::ExceptionObject(__FILE__, __LINE__, msg.str().c_str(), ITK_LOCATION);
 
   return "Unknown";
@@ -49,7 +49,7 @@ WaveletGenerator<TMotherWaveletOperator>
 {
   std::ostringstream msg;
   msg << "The mother wavelet ID " << TMotherWaveletOperator;
-  msg << " is unkown or has to be implemented...\n";
+  msg << " is unknown or has to be implemented...\n";
   throw itk::ExceptionObject(__FILE__, __LINE__, msg.str().c_str(), ITK_LOCATION);
 }
 
@@ -60,7 +60,7 @@ WaveletGenerator<TMotherWaveletOperator>
 {
   std::ostringstream msg;
   msg << "The mother wavelet ID " << TMotherWaveletOperator;
-  msg << " is unkown or has to be implemented (check the txx file)...\n";
+  msg << " is unknown or has to be implemented (check the txx file)...\n";
   throw itk::ExceptionObject(__FILE__, __LINE__, msg.str().c_str(), ITK_LOCATION);
 }
 
diff --git a/Modules/MPI/MPITiffWriter/include/otbSimpleParallelTiffWriter.txx b/Modules/MPI/MPITiffWriter/include/otbSimpleParallelTiffWriter.txx
index 16b6e219c4..b9bd8dd155 100644
--- a/Modules/MPI/MPITiffWriter/include/otbSimpleParallelTiffWriter.txx
+++ b/Modules/MPI/MPITiffWriter/include/otbSimpleParallelTiffWriter.txx
@@ -770,7 +770,7 @@ SimpleParallelTiffWriter<TInputImage>
   this->ReleaseInputs();
 
   //Reset global shift on input region (box parameter)
-  //It allows to call multiple update over the writer
+  //It allows calling multiple updates over the writer
   m_ShiftOutputIndex.Fill(0);
 
   // Wait for other processes
diff --git a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1Model.cpp b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1Model.cpp
index d7593c3c06..7c56839ccc 100644
--- a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1Model.cpp
+++ b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1Model.cpp
@@ -951,7 +951,7 @@ namespace ossimplugins
          addMandatory(theProductKwl, prefix, keyImPtX,          **itNode, attPixel);
 
          // In TOPSAR products, GCPs are weird (they fall in black lines
-         // between burst. This code allows to move them to a valid area of
+         // between burst. This code allows moving them to a valid area of
          // the image.
          if(theBurstRecords.size()>2)
          {
diff --git a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp
index 141c81320f..c54d59f2e9 100644
--- a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp
+++ b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp
@@ -249,7 +249,7 @@ void ossimSentinel1SarSensorModel::readAnnotationFile(const std::string & annota
         gcpRecord.imPt.x = getDoubleFromFirstNode(**itNode, attPixel);
 
         // In TOPSAR products, GCPs are weird (they fall in black lines
-        // between burst. This code allows to move them to a valid area of
+        // between burst. This code allows moving them to a valid area of
         // the image.
         if(theBurstRecords.size()>2)
         {
-- 
GitLab