Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Apr 1, 2024
1 parent 355020a commit aab6b08
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4407,7 +4407,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();

Expand Down
2 changes: 1 addition & 1 deletion ogr/ogrsf_frmts/gpkg/ogrgeopackagedatasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9970,7 +9970,7 @@ bool GDALGeoPackageDataset::AddRelationship(
*
* However, if we don't insert the mapping table into gpkg_contents then it is no longer
* visible to some clients (eg ESRI software only allows opening tables that are present
* in gpkg_contents). So we'll do this anyway, for maximum compatiblity and flexibility.
* in gpkg_contents). So we'll do this anyway, for maximum compatibility and flexibility.
*
* More related discussion is at https://github.com/OSGeo/gdal/pull/9258
*/
Expand Down
2 changes: 1 addition & 1 deletion ogr/ogrsf_frmts/parquet/ogr_parquet.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class OGRParquetLayer final : public OGRParquetLayerBase
//! Iterator over m_asFeatureIdxRemapping
std::vector<std::pair<int64_t, int64_t>>::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<int> m_anRequestedParquetColumns{}; // only valid when
// m_bIgnoredFields is set
Expand Down
2 changes: 1 addition & 1 deletion swig/python/gdal-utils/osgeo_utils/gdalattachpct.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def doit(

if driver_name.upper() == "VRT":
# For VRT, create the VRT first from the source dataset, so it
# correctly referes to it
# correctly refers to it
out_ds = dst_driver.CreateCopy(dst_filename or "", src_ds)
if out_ds is None:
print(f"Cannot create {dst_filename}")
Expand Down

0 comments on commit aab6b08

Please sign in to comment.