[Git][debian-gis-team/otb][upstream] New upstream version 8.0.0+dfsg

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Mar 23 09:58:59 GMT 2022



Bas Couwenberg pushed to branch upstream at Debian GIS Project / otb


Commits:
27e35e89 by Bas Couwenberg at 2022-03-23T06:51:55+01:00
New upstream version 8.0.0+dfsg
- - - - -


18 changed files:

- CMakeLists.txt
- Data/Baseline/OTB/Files/otbPolygonTest.txt
- Modules/Adapters/BoostAdapters/include/otbStringUtils.h
- Modules/Adapters/GdalAdapters/include/otbCoordinateTransformation.h
- Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h
- Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx
- Modules/Core/Metadata/src/otbSentinel1ImageMetadataInterface.cxx
- Modules/Core/Metadata/src/otbTerraSarXSarImageMetadataInterface.cxx
- Modules/Core/PointSet/test/otbTransformPointSetFilterTest.cxx
- Modules/Core/VectorDataBase/test/otbPolygon.cxx
- Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerDistanceImageFilter.cxx
- Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerProfileImageFilter.cxx
- Modules/IO/IOMSTAR/src/otbMSTARImageIO.cxx
- Modules/Learning/Supervised/test/0000209-SVMValidationLinearlySeparableProbEstimation.cxx
- Modules/Segmentation/Metrics/include/otbHooverMatrixFilter.hxx
- Modules/Visualization/Ice/include/otbGlVertexArrayObject.h
- RELEASE_NOTES.txt
- Utilities/Maintenance/fix_typos.sh


Changes:

=====================================
CMakeLists.txt
=====================================
@@ -479,7 +479,7 @@ if(UNIX)
     COMMAND ./SuperbuildDownloadList.sh
       ${OTB_BINARY_DIR}/Download
       ${OTB_BINARY_DIR}
-    WORKING_DIRECTORY ${OTB_SOURCE_DIR}/Utilities/Maintenance
+    WORKING_DIRECTORY ${OTB_SOURCE_DIR}/CI
     )
 endif()
 


=====================================
Data/Baseline/OTB/Files/otbPolygonTest.txt
=====================================
@@ -166,7 +166,7 @@ polygon2->NbCrossing([6, 7], [6, 10]) = 0
 polygon2->NbTouching([6, 7], [6, 10]) = 3
 
 
-Bounding Boxs computation : 
+Bounding Boxes computation : 
 Bounding Box 1
 Index : [2, 3] , Size : [7, 7]
 Bounding Box 2


=====================================
Modules/Adapters/BoostAdapters/include/otbStringUtils.h
=====================================
@@ -102,7 +102,7 @@ void ConvertStringToVector(std::string const& str, T& ret, std::string const& er
  * \param[in] str  input string
  * \param key[out] An std::string reference where key will be stored
  * \param value[out] a reference of \cT where value will be stored
- * \param defValue[in] a default value if there is no delimiter fo
+ * \param defValue[in] a default value if there is no delimiter
  * \param[in] errmsg a msg complement used to build the error message to
 be shown if there is \c lexical_cast exception. See \cotb:Utils::LexicalCast().
  * \param delims  delimiter characters (space is default)


=====================================
Modules/Adapters/GdalAdapters/include/otbCoordinateTransformation.h
=====================================
@@ -87,7 +87,7 @@ public:
    * \param source The source spatial reference
    * \param target The target spatial reference
    *
-   * \throws InvalidCoordinateTransfromationException in case of failure
+   * \throws InvalidCoordinateTransformationException in case of failure
    */
   CoordinateTransformation(const SpatialReference& source, const SpatialReference& destination);
 


=====================================
Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h
=====================================
@@ -128,7 +128,7 @@ public:
   /**\name Features collection */
   //@{
   /** Returns the number of elements in the layer.
-   * \param[in] doForceCompuation  indicates whether the size shall be computed
+   * \param[in] doForceComputation  indicates whether the size shall be computed
    * even so it's expensive to do so.
    *
    * \return the number of features in the layer, -1 if count is unknown


=====================================
Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx
=====================================
@@ -671,7 +671,7 @@ BOOST_AUTO_TEST_CASE(Add_n_Del_Fields)
     ogr::FieldDefn f4(*defn.GetFieldDefn(4));
     BOOST_CHECK_EQUAL(f4, k_f5);
   }
-  // todo: add reoder tests
+  // todo: add reorder tests
 }
 
 BOOST_AUTO_TEST_CASE(Add_n_Read_Fields)


=====================================
Modules/Core/Metadata/src/otbSentinel1ImageMetadataInterface.cxx
=====================================
@@ -857,7 +857,7 @@ void Sentinel1ImageMetadataInterface::ParseGeom(ImageMetadata & imd)
   if (hasSAR)
   {
     // Old metadata (from geom) does not contain support_data.look_side for S1 products
-    // Rigth looking flag is always true for S1 products => hard coded value, here
+    // Right looking flag is always true for S1 products => hard coded value, here
     sarParam.rightLookingFlag = true;
     imd.Add(MDGeom::SAR, sarParam);
   }


=====================================
Modules/Core/Metadata/src/otbTerraSarXSarImageMetadataInterface.cxx
=====================================
@@ -923,7 +923,7 @@ void TerraSarXSarImageMetadataInterface::ParseGeom(ImageMetadata & imd)
   sarParam.azimuthFmRates = this->GetAzimuthFmRateGeom();
   sarParam.dopplerCentroids = this->GetDopplerCentroidGeom();
 
-  // Rigth looking flag is always true for TSX products
+  // Right looking flag is always true for TSX products
   sarParam.rightLookingFlag = true;
 
   const std::string supportDataPrefix = "support_data.";


=====================================
Modules/Core/PointSet/test/otbTransformPointSetFilterTest.cxx
=====================================
@@ -33,7 +33,7 @@ int otbTransformPointSetFilterTest(int, char* [])
 
   // Declare the types of the PointSet
   // By default it is a 3D PointSet using itk::Point<float, 3>
-  // on the vertices, and an itk::VectorContainter
+  // on the vertices, and an itk::VectorContainer
   // as container for points
   typedef itk::PointSet<PixelType> PointSetType;
 


=====================================
Modules/Core/VectorDataBase/test/otbPolygon.cxx
=====================================
@@ -123,7 +123,7 @@ int otbPolygon(int itkNotUsed(argc), char* argv[])
   file << "polygon2->NbTouching(" << current << ", " << firstVertex << ") = " << polygon2->NbTouching(current, firstVertex) << std::endl;
 
   file << std::endl << std::endl;
-  file << "Bounding Boxs computation : " << std::endl;
+  file << "Bounding Boxes computation : " << std::endl;
   PolygonType::RegionType r1 = polygon1->GetBoundingRegion();
   file << "Bounding Box 1" << std::endl;
   file << "Index : " << r1.GetIndex() << " , Size : " << r1.GetSize() << std::endl;


=====================================
Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerDistanceImageFilter.cxx
=====================================
@@ -28,7 +28,7 @@ int otbKullbackLeiblerDistanceImageFilter(int argc, char* argv[])
 {
   if (argc != 5)
   {
-    std::cerr << "Detection de changements par mesure de Kullback-Leibler, optimisee par un development de Edgeworth\n";
+    std::cerr << "Change detection by Kullback-Leible measure, optimized by an Edgeworth development\n";
     std::cerr << argv[0] << " imgAv imgAp imgResu winSize\n";
     return 1;
   }


=====================================
Modules/Filtering/ChangeDetection/test/otbKullbackLeiblerProfileImageFilter.cxx
=====================================
@@ -29,7 +29,7 @@ int otbKullbackLeiblerProfileImageFilter(int argc, char* argv[])
 {
   if (argc != 6)
   {
-    std::cerr << "Detection de changements par mesure de Kullback-Leibler, optimisee par un development de Edgeworth\n";
+    std::cerr << "Change detection by Kullback-Leible measure, optimized by an Edgeworth development\n";
     std::cerr << argv[0] << " imgAv imgAp imgResu winSizeMin winSizeMax\n";
     return 1;
   }


=====================================
Modules/IO/IOMSTAR/src/otbMSTARImageIO.cxx
=====================================
@@ -111,7 +111,7 @@ bool MSTARImageIO::CanReadFile(const char* filename)
   std::string fname = filename;
   if (fname == "")
   {
-    itkDebugMacro(<< "Fichier image non specifie.");
+    itkDebugMacro(<< "Image file not specified.");
   }
 
   MSTARname = filename;
@@ -249,13 +249,13 @@ bool MSTARImageIO::CanWriteFile(const char* filename)
 
   if (fname == "")
   {
-    itkDebugMacro(<< "Fichier image non specifie.");
+    itkDebugMacro(<< "Image file not specified.");
   }
 
   if (formatFound == false)
   {
     std::string identificationErreur;
-    identificationErreur = "Format MSTAR non detecte dans l'extension du fichier.";
+    identificationErreur = "MSTAR format not detected in the file's extension.";
     itkDebugMacro(<< identificationErreur.c_str());
   }
 


=====================================
Modules/Learning/Supervised/test/0000209-SVMValidationLinearlySeparableProbEstimation.cxx
=====================================
@@ -37,7 +37,7 @@ This test show a problem with the SVM library using the probability
 estimation : bug 209.
 If the probability estimation is activated, the classifier isn't
 abble to find the hyperplan even if the sample are linearly
-seperable.
+separable.
 cf. test leTvBug209_SVMValidationLinearlySeparableWithoutProbEstimate
 => OK
 and leTvBug209_SVMValidationLinearlySeparableWithProbEstimate => KO


=====================================
Modules/Segmentation/Metrics/include/otbHooverMatrixFilter.hxx
=====================================
@@ -107,7 +107,7 @@ void HooverMatrixFilter<TLabelMap>::ThreadedProcessLabelObject(LabelObjectType*
       // if found : ++ in the cell [n, p]
       for (unsigned long j = currentRegionMS; j < (currentRegionMS + m_NumberOfRegionsMS); j++)
       {
-        // TODO : optimize here : call GetLabelObjet(label) would be faster
+        // TODO : optimize here : call GetLabelObject(label) would be faster
         const LabelObjectType* regionMS = this->GetMachineSegmentationLabelMap()->GetNthLabelObject(j % m_NumberOfRegionsMS);
         if (regionMS->HasIndex(idx))
         {


=====================================
Modules/Visualization/Ice/include/otbGlVertexArrayObject.h
=====================================
@@ -50,4 +50,4 @@ using VertexArrayObject = Handle< VertexArrayObjectPolicy >;
 } // end namespace otb.
 
 
-#endif // otb_GlVetexArrayObject_h
+#endif // otb_GlVertexArrayObject_h


=====================================
RELEASE_NOTES.txt
=====================================
@@ -1,4 +1,4 @@
-OTB-v 8.0.0 - Changes since version 7.4.0 (March 15th, 2022)
+OTB-v 8.0.0 - Changes since version 7.4.0 (March 22th, 2022)
 ---------------------------------------------------------------------
 
 Features added:


=====================================
Utilities/Maintenance/fix_typos.sh
=====================================
@@ -48,6 +48,8 @@ EXCLUDED_FILES="$EXCLUDED_FILES,*/Documentation/SoftwareGuide/Art/*,*/Documentat
 EXCLUDED_FILES="$EXCLUDED_FILES,*/Copyright/*,*/SuperBuild/Copyright/*"
 # exclude maintenance, translation, license
 EXCLUDED_FILES="$EXCLUDED_FILES,*/Utilities/Maintenance/fix_typos.sh,*/fix_typos/*,LICENSE,*/i18n/*"
+# exclude Data directory
+EXCLUDED_FILES="$EXCLUDED_FILES,*/Data/*"
 
 #We use also words white list to handle deprecated classes/methods which are still there and contains some typos
 
@@ -60,6 +62,14 @@ WORDS_WHITE_LIST="Developement"
 WORDS_WHITE_LIST="$WORDS_WHITE_LIST,dum"
 # for pary variable
 WORDS_WHITE_LIST="$WORDS_WHITE_LIST,pary"
+# LaTeX
+WORDS_WHITE_LIST="$WORDS_WHITE_LIST,LaTeX,BibTeX,404"
+# Technical terms
+WORDS_WHITE_LIST="$WORDS_WHITE_LIST,SOM,som,HaA,ND,haa,Hsi,Eyt,VectorDatas,ot,inout,Lod"
+# CMake
+WORDS_WHITE_LIST="$WORDS_WHITE_LIST,DEPENDEES,Te,Alls"
+# Names
+WORDS_WHITE_LIST="$WORDS_WHITE_LIST,bre,Theis,Dout,Pont,Unser"
 
 python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \
         --words-white-list=$WORDS_WHITE_LIST \



View it on GitLab: https://salsa.debian.org/debian-gis-team/otb/-/commit/27e35e89bcf82366c0605391e11e3e844b1b14c1

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/otb/-/commit/27e35e89bcf82366c0605391e11e3e844b1b14c1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220323/929dcef1/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list