From 03f30b1052a9913352fb83d50d97970048e3435f Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 17 Apr 2024 17:44:50 +0200 Subject: [PATCH] typo fixes [ci skip] --- doc/source/development/building_from_source.rst | 2 +- doc/source/drivers/vector/gpkg.rst | 2 +- ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp | 2 +- ogr/ogrsf_frmts/parquet/ogr_parquet.h | 2 +- scripts/typos_allowlist.txt | 1 + swig/include/python/docs/osr_spatialreference_docs.i | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/source/development/building_from_source.rst b/doc/source/development/building_from_source.rst index ecbb5a0bf267..bed99ec09c82 100644 --- a/doc/source/development/building_from_source.rst +++ b/doc/source/development/building_from_source.rst @@ -1699,7 +1699,7 @@ PROJ .. versionadded:: 3.9 Control the mode used for find_package(PROJ). - Alters how the default CMake seach logic + Alters how the default CMake search logic (https://cmake.org/cmake/help/latest/command/find_package.html) applies. Defaults to CUSTOM, where the CONFIG mode is applied for PROJ >= 8, and fallbacks to default MODULE mode otherwise. diff --git a/doc/source/drivers/vector/gpkg.rst b/doc/source/drivers/vector/gpkg.rst index 319278304ad7..d568dcaca289 100644 --- a/doc/source/drivers/vector/gpkg.rst +++ b/doc/source/drivers/vector/gpkg.rst @@ -639,7 +639,7 @@ custom entry of srs_id=99999 with the following properties: Note that the use of a LOCAL_CS / EngineeringCRS is mostly to provide a valid CRS definition to comply with the requirements of the GeoPackage specification and to be compatible of other applications (or GDAL 3.8 or earlier), but the -semantics of that entry is intented to be "undefined SRS of any kind". +semantics of that entry is intended to be "undefined SRS of any kind". Level of support of GeoPackage Extensions ----------------------------------------- diff --git a/ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp b/ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp index 93c842250810..47854f431c41 100644 --- a/ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp +++ b/ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp @@ -5580,7 +5580,7 @@ inline int OGRArrowLayer::GetNextArrowArray(struct ArrowArrayStream *stream, const auto nFeatureIdxCur = m_nFeatureIdx; // TODO: We likely have an issue regarding FIDs based on m_nFeatureIdx // when m_iFIDArrowColumn < 0, only a subset of row groups is - // selected, and this batch goes accross non consecutive row groups. + // selected, and this batch goes across non consecutive row groups. for (int64_t i = 0; i < m_nIdxInBatch; ++i) IncrFeatureIdx(); diff --git a/ogr/ogrsf_frmts/parquet/ogr_parquet.h b/ogr/ogrsf_frmts/parquet/ogr_parquet.h index 0b36c7b914c1..7ebf99ee48f7 100644 --- a/ogr/ogrsf_frmts/parquet/ogr_parquet.h +++ b/ogr/ogrsf_frmts/parquet/ogr_parquet.h @@ -91,7 +91,7 @@ class OGRParquetLayer final : public OGRParquetLayerBase //! Iterator over m_asFeatureIdxRemapping std::vector>::iterator m_oFeatureIdxRemappingIter{}; - //! Feature index among the potentially restricted set of selected row gropus + //! Feature index among the potentially restricted set of selected row groups int64_t m_nFeatureIdxSelected = 0; std::vector m_anRequestedParquetColumns{}; // only valid when // m_bIgnoredFields is set diff --git a/scripts/typos_allowlist.txt b/scripts/typos_allowlist.txt index 5426c423eb50..a2a7bf6390d7 100644 --- a/scripts/typos_allowlist.txt +++ b/scripts/typos_allowlist.txt @@ -305,3 +305,4 @@ either 2 or 4 comma separated values. The same rules apply for the source and de FAIL_REGEX "[Uu]nknown switch" # PGI * Esben Mose Hansen, Ange Optimization ApS SetLinearUnits("kilometre", 1000.0); + // F(ixed) S(ize) L(ist) of (x,y[,z][,m]) values / Interleaved layout diff --git a/swig/include/python/docs/osr_spatialreference_docs.i b/swig/include/python/docs/osr_spatialreference_docs.i index 3940e0ecd4c6..876e2e2d11c6 100644 --- a/swig/include/python/docs/osr_spatialreference_docs.i +++ b/swig/include/python/docs/osr_spatialreference_docs.i @@ -502,7 +502,7 @@ Examples %feature("docstring") GetSemiMajor " -Get spheroid semi major axis (in metres starting with GDAL 3.0) +Get spheroid semi major axis (in meters starting with GDAL 3.0) See :cpp:func:`OGRSpatialReference::GetSemiMajor`.