Skip to content

Commit bc0915f

Browse files
committed
Fix typos
1 parent b327a0f commit bc0915f

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

autotest/utilities/test_gdalalg_vector_convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_gdalalg_vector_convert_error_output_not_set():
156156
convert = get_convert_alg()
157157
convert["input"] = "../ogr/data/poly.shp"
158158

159-
# Make it such that the "output" argment is set, but to a unset GDALArgDatasetValue
159+
# Make it such that the "output" argument is set, but to a unset GDALArgDatasetValue
160160
convert["output"] = convert["output"]
161161

162162
with pytest.raises(

doc/source/programs/gdal_raster_reproject.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Advanced options
201201
the NBITS band metadata item. If it is present, the maximum value is 2^NBITS-1.
202202
Otherwise, if NBITS is not set and the alpha band is of type UInt16
203203
(resp. Int16), 65535 (resp. 32767) is used. Otherwise, 255 is used. The
204-
maximum value can also be overriden with ``--wo DST_ALPHA_MAX=<value>``.
204+
maximum value can also be overridden with ``--wo DST_ALPHA_MAX=<value>``.
205205

206206
.. option:: --wo, --warp-option <NAME>=<VALUE>
207207

frmts/gtiff/gtiffdataset_read.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7113,7 +7113,7 @@ void *GTiffDataset::CacheMultiRange(int nXOff, int nYOff, int nXSize,
71137113
bool ok;
71147114
{
71157115
CPLTurnFailureIntoWarningBackuper
7116-
oFailureToWarninBackuper{};
7116+
oFailureToWarningBackuper{};
71177117
ok = VSIFReadMultiRangeL(static_cast<int>(anSizes.size()),
71187118
&apData[0], &anOffsets[0],
71197119
&anSizes[0], fp) == 0;

ogr/ogrsf_frmts/dxf/ogrdxflayer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2848,8 +2848,8 @@ OGRDXFFeature *OGRDXFLayer::TranslateWIPEOUT()
28482848
break;
28492849

28502850
/* -------------------------------------------------------------------- */
2851-
/* Read clipping boudary properties and set them feature geometry */
2852-
/* Collect VERTEXes as a smooth polyline. */
2851+
/* Read clipping boundary properties and set them feature geometry */
2852+
/* Collect vertices as a smooth polyline. */
28532853
/* -------------------------------------------------------------------- */
28542854
case 14:
28552855
dfX = CPLAtof(szLineBuf);

scripts/typos_allowlist.txt

+1
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,4 @@ either 2 or 4 comma separated values. The same rules apply for the source and de
346346
# Disable cfchecker validation as it fails with a '(5): co-ordinate variable not monotonic'
347347
* do not emit warnings about not having used [Dont]UseExceptions() if run under
348348
// Hack for a file called MANAL_2023030103.grb2 that
349+
.AddAlias("ot")

swig/include/gdal.i

+1-1
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ struct GDALContourOptions {
17661766
/* Note: we must use 2 distinct names due to different ownership of the result */
17671767

17681768
#ifdef SWIGJAVA
1769-
%rename (Countour) wrapper_GDALContourDestDS;
1769+
%rename (Contour) wrapper_GDALContourDestDS;
17701770
#endif
17711771
%inline %{
17721772

swig/include/python/gdal_python.i

+1-1
Original file line numberDiff line numberDiff line change
@@ -5501,7 +5501,7 @@ class VSIFile(BytesIO):
55015501
return self.GetActualAlgorithm().GetArg(key).Get()
55025502

55035503
def __setitem__(self, key, value):
5504-
"""Set the value of an argment.
5504+
"""Set the value of an argument.
55055505
55065506
Shortcut for self.GetArg(key).Set(value)
55075507

0 commit comments

Comments
 (0)