GDAL 3.12.2__tar.gz → 3.12.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gdal-3.12.2 → gdal-3.12.4}/PKG-INFO +2 -2
- {gdal-3.12.2 → gdal-3.12.4}/README.rst +1 -1
- {gdal-3.12.2 → gdal-3.12.4}/extensions/gdal_wrap.cpp +14 -4
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/PKG-INFO +2 -2
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/__init__.py +1 -1
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal2tiles.py +1 -1
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/ogrmerge.py +10 -5
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/gdal.py +11 -14
- {gdal-3.12.2 → gdal-3.12.4}/setup.py +1 -1
- {gdal-3.12.2 → gdal-3.12.4}/extensions/gdal_array_wrap.cpp +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/extensions/gdalconst_wrap.c +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/extensions/gnm_wrap.cpp +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/extensions/ogr_wrap.cpp +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/extensions/osr_wrap.cpp +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/SOURCES.txt +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/dependency_links.txt +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/entry_points.txt +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/not-zip-safe +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/requires.txt +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/GDAL.egg-info/top_level.txt +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/__init__.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/array_util.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/base.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/batch_creator.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/color_palette.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/color_table.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/extent_util.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/numpy_util.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/osr_util.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/progress.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/raster_creation.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/rectangle.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/auxiliary/util.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal2xyz.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_calc.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_edit.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_fillnodata.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_merge.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_pansharpen.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_polygonize.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_proximity.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_retile.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdal_sieve.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdalattachpct.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdalcompare.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/gdalmove.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/ogr_layer_algebra.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/pct2rgb.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/rgb2pct.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/__init__.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/assemblepoly.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/classify.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/crs2crs2grid.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/densify.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/dump_jp2.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/epsg_tr.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/esri2wkt.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/fft.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/fix_gpkg.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gcps2ogr.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gcps2vec.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gcps2wld.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_auth.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_create_pdf.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_lut.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_minmax_location.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_mkdir.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_rm.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdal_rmdir.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalbuildvrtofvrt.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalchksum.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalcopyproj.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalfilter.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalident.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalimport.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdalinfo.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/gdallocationinfo.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/get_soundg.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/histrep.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/load2odbc.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/loslas2ntv2.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/magphase.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/mkgraticule.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/ogr2vrt.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/ogr_dispatch.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/ogrinfo.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/ogrupdate.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/rel.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/tigerpoly.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/tolatlong.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/val_repl.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/validate_geoparquet.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/validate_gpkg.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/validate_jp2.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/vec_tr.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/vec_tr_spat.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/wcs_virtds_params.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal2tiles.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal2xyz.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_calc.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_edit.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_fillnodata.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_merge.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_pansharpen.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_polygonize.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_proximity.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_retile.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdal_sieve.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdalattachpct.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdalcompare.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/gdalmove.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/ogr_layer_algebra.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/ogrmerge.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/pct2rgb.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/gdal-utils/scripts/rgb2pct.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/__init__.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/gdal_array.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/gdal_fsspec.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/gdalconst.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/gdalnumeric.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/gnm.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/ogr.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/osgeo/osr.py +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/pyproject.toml +0 -0
- {gdal-3.12.2 → gdal-3.12.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GDAL
|
|
3
|
-
Version: 3.12.
|
|
3
|
+
Version: 3.12.4
|
|
4
4
|
Summary: GDAL: Geospatial Data Abstraction Library
|
|
5
5
|
Home-page: http://www.gdal.org
|
|
6
6
|
Author: Frank Warmerdam, Howard Butler, Even Rouault
|
|
@@ -65,7 +65,7 @@ special about gdal.)
|
|
|
65
65
|
|
|
66
66
|
* SWIG (4 or greater).
|
|
67
67
|
|
|
68
|
-
* libgdal (3.12.
|
|
68
|
+
* libgdal (3.12.4 or greater).
|
|
69
69
|
|
|
70
70
|
* numpy (1.0.0 or greater). This is not force-required by the build,
|
|
71
71
|
but many examples and utilities will not work without it. At least
|
|
@@ -31,7 +31,7 @@ special about gdal.)
|
|
|
31
31
|
|
|
32
32
|
* SWIG (4 or greater).
|
|
33
33
|
|
|
34
|
-
* libgdal (3.12.
|
|
34
|
+
* libgdal (3.12.4 or greater).
|
|
35
35
|
|
|
36
36
|
* numpy (1.0.0 or greater). This is not force-required by the build,
|
|
37
37
|
but many examples and utilities will not work without it. At least
|
|
@@ -4388,14 +4388,22 @@ void CPL_STDCALL PyCPLErrorHandler(CPLErr eErrClass, CPLErrorNum err_no, const c
|
|
|
4388
4388
|
return;
|
|
4389
4389
|
}
|
|
4390
4390
|
|
|
4391
|
-
|
|
4391
|
+
PyObject* callable = (PyObject*)CPLGetErrorHandlerUserData();
|
|
4392
4392
|
PyObject *psArgs;
|
|
4393
4393
|
|
|
4394
4394
|
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
|
|
4395
4395
|
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4396
|
+
if (!PyCallable_Check(callable))
|
|
4397
|
+
{
|
|
4398
|
+
PyErr_SetString( PyExc_RuntimeError,
|
|
4399
|
+
"PyCPLErrorHandler: Critical error: callback is not callable" );
|
|
4400
|
+
}
|
|
4401
|
+
else
|
|
4402
|
+
{
|
|
4403
|
+
psArgs = Py_BuildValue("(iis)", eErrClass, err_no, pszErrorMsg );
|
|
4404
|
+
PyObject_CallObject( callable, psArgs);
|
|
4405
|
+
Py_XDECREF(psArgs);
|
|
4406
|
+
}
|
|
4399
4407
|
|
|
4400
4408
|
SWIG_PYTHON_THREAD_END_BLOCK;
|
|
4401
4409
|
}
|
|
@@ -4416,7 +4424,9 @@ void CPL_STDCALL PyCPLErrorHandler(CPLErr eErrClass, CPLErrorNum err_no, const c
|
|
|
4416
4424
|
void* user_data = CPLGetErrorHandlerUserData();
|
|
4417
4425
|
if( user_data != NULL )
|
|
4418
4426
|
{
|
|
4427
|
+
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
|
|
4419
4428
|
Py_XDECREF((PyObject*)user_data);
|
|
4429
|
+
SWIG_PYTHON_THREAD_END_BLOCK;
|
|
4420
4430
|
}
|
|
4421
4431
|
CPLPopErrorHandler();
|
|
4422
4432
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GDAL
|
|
3
|
-
Version: 3.12.
|
|
3
|
+
Version: 3.12.4
|
|
4
4
|
Summary: GDAL: Geospatial Data Abstraction Library
|
|
5
5
|
Home-page: http://www.gdal.org
|
|
6
6
|
Author: Frank Warmerdam, Howard Butler, Even Rouault
|
|
@@ -65,7 +65,7 @@ special about gdal.)
|
|
|
65
65
|
|
|
66
66
|
* SWIG (4 or greater).
|
|
67
67
|
|
|
68
|
-
* libgdal (3.12.
|
|
68
|
+
* libgdal (3.12.4 or greater).
|
|
69
69
|
|
|
70
70
|
* numpy (1.0.0 or greater). This is not force-required by the build,
|
|
71
71
|
but many examples and utilities will not work without it. At least
|
|
@@ -2406,7 +2406,7 @@ class GDAL2Tiles:
|
|
|
2406
2406
|
)
|
|
2407
2407
|
self.omaxy = self.out_gt[3]
|
|
2408
2408
|
self.ominy = (
|
|
2409
|
-
self.out_gt[3]
|
|
2409
|
+
self.out_gt[3] + self.warped_input_dataset.RasterYSize * self.out_gt[5]
|
|
2410
2410
|
)
|
|
2411
2411
|
# Note: maybe round(x, 14) to avoid the gdal_translate behavior, when 0 becomes -1e-15
|
|
2412
2412
|
|
|
@@ -92,8 +92,13 @@ def _GetGeomType(src_geom_type_name):
|
|
|
92
92
|
#############################################################################
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
def _Esc(x):
|
|
96
|
-
|
|
95
|
+
def _Esc(x, element_value=False):
|
|
96
|
+
x = gdal.EscapeString(x, gdal.CPLES_XML).decode("UTF-8")
|
|
97
|
+
# Un-encoded leading or trailing spaces are remove by the CPLMiniXML parser
|
|
98
|
+
if element_value and len(x) > 0 and (ord(x[0]) <= 32 or ord(x[-1]) <= 32):
|
|
99
|
+
x = x.replace(" ", " ") # space
|
|
100
|
+
x = x.replace("\t", "	") # tabulation
|
|
101
|
+
return x
|
|
97
102
|
|
|
98
103
|
|
|
99
104
|
class XMLWriter:
|
|
@@ -131,7 +136,7 @@ class XMLWriter:
|
|
|
131
136
|
self._indent(),
|
|
132
137
|
name,
|
|
133
138
|
xml_attrs,
|
|
134
|
-
_Esc(value.encode("utf-8")),
|
|
139
|
+
_Esc(value.encode("utf-8"), element_value=True),
|
|
135
140
|
name,
|
|
136
141
|
)
|
|
137
142
|
x = x.encode("utf-8")
|
|
@@ -961,7 +966,7 @@ def ogrmerge(
|
|
|
961
966
|
if not update and not overwrite_ds:
|
|
962
967
|
print(
|
|
963
968
|
"ERROR: Destination dataset already exists, "
|
|
964
|
-
+ "but -update nor -overwrite_ds are specified",
|
|
969
|
+
+ "but neither -update nor -overwrite_ds are specified",
|
|
965
970
|
file=sys.stderr,
|
|
966
971
|
)
|
|
967
972
|
return 1
|
|
@@ -990,7 +995,7 @@ def ogrmerge(
|
|
|
990
995
|
if gdal.VSIStatL(dst_filename) and not overwrite_ds:
|
|
991
996
|
print(
|
|
992
997
|
"ERROR: Destination dataset already exists, "
|
|
993
|
-
+ "but -overwrite_ds
|
|
998
|
+
+ "but -overwrite_ds is not specified",
|
|
994
999
|
file=sys.stderr,
|
|
995
1000
|
)
|
|
996
1001
|
return 1
|
|
@@ -9968,13 +9968,13 @@ class Band(MajorObject):
|
|
|
9968
9968
|
----------
|
|
9969
9969
|
pixel : float
|
|
9970
9970
|
line : float
|
|
9971
|
-
interpolation :
|
|
9971
|
+
interpolation : int
|
|
9972
9972
|
Resampling algorithm to use. One of:
|
|
9973
9973
|
|
|
9974
|
-
-
|
|
9975
|
-
-
|
|
9976
|
-
-
|
|
9977
|
-
-
|
|
9974
|
+
- :py:const:`GRIORA_NearestNeighbour`
|
|
9975
|
+
- :py:const:`GRIORA_Bilinear`
|
|
9976
|
+
- :py:const:`GRIORA_Cubic`
|
|
9977
|
+
- :py:const:`GRIORA_CubicSpline`
|
|
9978
9978
|
|
|
9979
9979
|
Returns
|
|
9980
9980
|
-------
|
|
@@ -10030,13 +10030,13 @@ class Band(MajorObject):
|
|
|
10030
10030
|
taking into account the data-axis-to-crs-axis mapping
|
|
10031
10031
|
srs : object
|
|
10032
10032
|
:py:class:`osr.SpatialReference`. If set, override the natural CRS in which geolocX, geolocY are expressed
|
|
10033
|
-
interpolation :
|
|
10033
|
+
interpolation : int
|
|
10034
10034
|
Resampling algorithm to use. One of:
|
|
10035
10035
|
|
|
10036
|
-
-
|
|
10037
|
-
-
|
|
10038
|
-
-
|
|
10039
|
-
-
|
|
10036
|
+
- :py:const:`GRIORA_NearestNeighbour`
|
|
10037
|
+
- :py:const:`GRIORA_Bilinear`
|
|
10038
|
+
- :py:const:`GRIORA_Cubic`
|
|
10039
|
+
- :py:const:`GRIORA_CubicSpline`
|
|
10040
10040
|
|
|
10041
10041
|
Returns
|
|
10042
10042
|
-------
|
|
@@ -10051,10 +10051,7 @@ class Band(MajorObject):
|
|
|
10051
10051
|
>>> with gdal.Open("byte.tif") as ds:
|
|
10052
10052
|
... wgs84_srs = osr.SpatialReference("WGS84")
|
|
10053
10053
|
... wgs84_srs.SetAxisMappingStrategy(osr.OAMS_TRADITIONAL_GIS_ORDER)
|
|
10054
|
-
... ds.GetRasterBand(1).InterpolateAtGeolocation(longitude_degree,
|
|
10055
|
-
latitude_degree, \
|
|
10056
|
-
wgs84_srs, \
|
|
10057
|
-
gdal.GRIORA_Bilinear)
|
|
10054
|
+
... ds.GetRasterBand(1).InterpolateAtGeolocation(longitude_degree, latitude_degree, wgs84_srs, gdal.GRIORA_Bilinear)
|
|
10058
10055
|
135.62 # interpolated value, rtol: 1e-3
|
|
10059
10056
|
"""
|
|
10060
10057
|
|
|
@@ -18,7 +18,7 @@ from setuptools import setup
|
|
|
18
18
|
from setuptools import find_packages
|
|
19
19
|
from setuptools import Extension
|
|
20
20
|
|
|
21
|
-
version = '3.12.
|
|
21
|
+
version = '3.12.4'
|
|
22
22
|
|
|
23
23
|
# If CXX is defined in the environment, it will be used to link the .so
|
|
24
24
|
# but setuptools will be confused if it is made of several words like 'ccache g++'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gdal-3.12.2 → gdal-3.12.4}/gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|