From 37b86e774709ec73f1ef51d8e40458d8e2dbb17d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 3 Jan 2025 15:45:04 +0100 Subject: [PATCH] typo fixes [ci skip] --- autotest/ogr/ogr_gml.py | 2 +- ogr/ogrsf_frmts/adbc/ogradbclayer.cpp | 4 ++-- ogr/ogrsf_frmts/gml/ogr_gml.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autotest/ogr/ogr_gml.py b/autotest/ogr/ogr_gml.py index 09fefa69fa25..dfc01116bd2f 100755 --- a/autotest/ogr/ogr_gml.py +++ b/autotest/ogr/ogr_gml.py @@ -4803,7 +4803,7 @@ def test_ogr_gml_force_opening(tmp_vsimem): [], "Field xxxx not found in layer test_point", ), - # Test with type wich is not recognized + # Test with type which is not recognized ( [ r'OGR_SCHEMA={"layers": [{"name": "test_point", "fields": [{ "name": "str", "type": "xxxx" }, {"name": "dbl", "type": "String" }]}]}' diff --git a/ogr/ogrsf_frmts/adbc/ogradbclayer.cpp b/ogr/ogrsf_frmts/adbc/ogradbclayer.cpp index bb82bdcba399..d8709d8936ff 100644 --- a/ogr/ogrsf_frmts/adbc/ogradbclayer.cpp +++ b/ogr/ogrsf_frmts/adbc/ogradbclayer.cpp @@ -339,8 +339,8 @@ void OGRADBCLayer::BuildLayerDefn(bool bInternalUse) CPLJSONDocument oDoc; if (!osGeoParquetMD.empty() && oDoc.LoadMemory(osGeoParquetMD)) { - const auto oColums = oDoc.GetRoot().GetObj("columns"); - for (const auto &oColumn : oColums.GetChildren()) + const auto oColumns = oDoc.GetRoot().GetObj("columns"); + for (const auto &oColumn : oColumns.GetChildren()) { if (oColumn.GetString("encoding") == "WKB") { diff --git a/ogr/ogrsf_frmts/gml/ogr_gml.h b/ogr/ogrsf_frmts/gml/ogr_gml.h index c261b800068a..6a66b323cb56 100644 --- a/ogr/ogrsf_frmts/gml/ogr_gml.h +++ b/ogr/ogrsf_frmts/gml/ogr_gml.h @@ -228,7 +228,7 @@ class OGRGMLDataSource final : public GDALDataset return bIsOutputGML32; } - /** Returns whether a writing error has occured */ + /** Returns whether a writing error has occurred */ inline bool HasWriteError() const { return m_bWriteError;