GDAL 3.9.0__tar.gz → 3.9.1__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.9.0 → gdal-3.9.1}/PKG-INFO +3 -2
- {GDAL-3.9.0 → gdal-3.9.1}/README.rst +2 -1
- {GDAL-3.9.0 → gdal-3.9.1}/extensions/gdal_array_wrap.cpp +5 -5
- {GDAL-3.9.0 → gdal-3.9.1}/extensions/gdal_wrap.cpp +129 -46
- {GDAL-3.9.0 → gdal-3.9.1}/extensions/gnm_wrap.cpp +5 -5
- {GDAL-3.9.0 → gdal-3.9.1}/extensions/ogr_wrap.cpp +62 -29
- {GDAL-3.9.0 → gdal-3.9.1}/extensions/osr_wrap.cpp +115 -30
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/PKG-INFO +3 -2
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/__init__.py +1 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/util.py +11 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal2tiles.py +49 -50
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal2xyz.py +7 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_calc.py +6 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_edit.py +5 -7
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_fillnodata.py +2 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_merge.py +8 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_pansharpen.py +3 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_polygonize.py +2 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_proximity.py +3 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_retile.py +3 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdal_sieve.py +2 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdalattachpct.py +7 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdalcompare.py +3 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/gdalmove.py +3 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/ogr_layer_algebra.py +3 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/ogrmerge.py +2 -5
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/pct2rgb.py +6 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/rgb2pct.py +6 -1
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/validate_geoparquet.py +1 -15
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal2tiles.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal2xyz.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_calc.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_edit.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_fillnodata.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_merge.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_pansharpen.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_polygonize.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_proximity.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_retile.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdal_sieve.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdalattachpct.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdalcompare.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/gdalmove.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/ogr_layer_algebra.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/ogrmerge.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/pct2rgb.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/scripts/rgb2pct.py +1 -3
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/ogr.py +8 -2
- {GDAL-3.9.0 → gdal-3.9.1}/setup.py +1 -1
- {GDAL-3.9.0 → gdal-3.9.1}/extensions/gdalconst_wrap.c +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/SOURCES.txt +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/dependency_links.txt +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/entry_points.txt +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/not-zip-safe +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/requires.txt +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/GDAL.egg-info/top_level.txt +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/__init__.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/array_util.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/base.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/batch_creator.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/color_palette.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/color_table.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/extent_util.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/numpy_util.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/osr_util.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/progress.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/raster_creation.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/auxiliary/rectangle.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/__init__.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/assemblepoly.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/classify.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/crs2crs2grid.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/densify.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/dump_jp2.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/epsg_tr.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/esri2wkt.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/fft.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/fix_gpkg.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gcps2ogr.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gcps2vec.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gcps2wld.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal2grd.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_auth.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_cp.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_create_pdf.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_ls.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_lut.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_mkdir.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_rm.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_rmdir.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdal_vrtmerge.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalbuildvrtofvrt.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalchksum.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalcopyproj.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalfilter.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalident.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalimport.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdalinfo.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/gdallocationinfo.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/get_soundg.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/histrep.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/hsv_merge.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/load2odbc.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/loslas2ntv2.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/magphase.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/mkgraticule.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/ogr2vrt.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/ogr_dispatch.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/ogrinfo.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/ogrupdate.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/rel.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/tigerpoly.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/tolatlong.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/val_repl.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/validate_gpkg.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/validate_jp2.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/vec_tr.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/vec_tr_spat.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/gdal-utils/osgeo_utils/samples/wcs_virtds_params.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/__init__.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/gdal.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/gdal_array.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/gdalconst.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/gdalnumeric.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/gnm.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/osgeo/osr.py +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/pyproject.toml +0 -0
- {GDAL-3.9.0 → gdal-3.9.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: GDAL
|
|
3
|
-
Version: 3.9.
|
|
3
|
+
Version: 3.9.1
|
|
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
|
|
@@ -44,7 +44,7 @@ reference documentation, but the https://gdal.org/api/python_bindings.html#tutor
|
|
|
44
44
|
Dependencies
|
|
45
45
|
------------
|
|
46
46
|
|
|
47
|
-
* libgdal (3.9.
|
|
47
|
+
* libgdal (3.9.1 or greater) and header files (gdal-devel)
|
|
48
48
|
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
|
|
49
49
|
required, but many examples and utilities will not work without it)
|
|
50
50
|
|
|
@@ -111,6 +111,7 @@ This is most often due to pip reusing a cached GDAL installation.
|
|
|
111
111
|
Verify that the necessary dependencies have been installed and then run the following to force a clean build:
|
|
112
112
|
|
|
113
113
|
::
|
|
114
|
+
|
|
114
115
|
pip install --no-cache --force-reinstall gdal[numpy]=="$(gdal-config --version).*"
|
|
115
116
|
|
|
116
117
|
|
|
@@ -13,7 +13,7 @@ reference documentation, but the https://gdal.org/api/python_bindings.html#tutor
|
|
|
13
13
|
Dependencies
|
|
14
14
|
------------
|
|
15
15
|
|
|
16
|
-
* libgdal (3.9.
|
|
16
|
+
* libgdal (3.9.1 or greater) and header files (gdal-devel)
|
|
17
17
|
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
|
|
18
18
|
required, but many examples and utilities will not work without it)
|
|
19
19
|
|
|
@@ -80,6 +80,7 @@ This is most often due to pip reusing a cached GDAL installation.
|
|
|
80
80
|
Verify that the necessary dependencies have been installed and then run the following to force a clean build:
|
|
81
81
|
|
|
82
82
|
::
|
|
83
|
+
|
|
83
84
|
pip install --no-cache --force-reinstall gdal[numpy]=="$(gdal-config --version).*"
|
|
84
85
|
|
|
85
86
|
|
|
@@ -3552,7 +3552,7 @@ void _DontUseExceptions() {
|
|
|
3552
3552
|
|
|
3553
3553
|
static int _UserHasSpecifiedIfUsingExceptions()
|
|
3554
3554
|
{
|
|
3555
|
-
return bUserHasSpecifiedIfUsingExceptions;
|
|
3555
|
+
return bUserHasSpecifiedIfUsingExceptions || bUseExceptionsLocal >= 0;
|
|
3556
3556
|
}
|
|
3557
3557
|
|
|
3558
3558
|
|
|
@@ -6456,7 +6456,7 @@ SWIGINTERN PyObject *_wrap_GetUseExceptions(PyObject *self, PyObject *args) {
|
|
|
6456
6456
|
if (!SWIG_Python_UnpackTuple(args, "GetUseExceptions", 0, 0, 0)) SWIG_fail;
|
|
6457
6457
|
{
|
|
6458
6458
|
#ifdef SED_HACKS
|
|
6459
|
-
if(
|
|
6459
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
6460
6460
|
#endif
|
|
6461
6461
|
result = GetUseExceptions();
|
|
6462
6462
|
}
|
|
@@ -6475,7 +6475,7 @@ SWIGINTERN PyObject *_wrap__GetExceptionsLocal(PyObject *self, PyObject *args) {
|
|
|
6475
6475
|
if (!SWIG_Python_UnpackTuple(args, "_GetExceptionsLocal", 0, 0, 0)) SWIG_fail;
|
|
6476
6476
|
{
|
|
6477
6477
|
#ifdef SED_HACKS
|
|
6478
|
-
if(
|
|
6478
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
6479
6479
|
#endif
|
|
6480
6480
|
{
|
|
6481
6481
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -6507,7 +6507,7 @@ SWIGINTERN PyObject *_wrap__SetExceptionsLocal(PyObject *self, PyObject *args) {
|
|
|
6507
6507
|
arg1 = static_cast< int >(val1);
|
|
6508
6508
|
{
|
|
6509
6509
|
#ifdef SED_HACKS
|
|
6510
|
-
if(
|
|
6510
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
6511
6511
|
#endif
|
|
6512
6512
|
{
|
|
6513
6513
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -6564,7 +6564,7 @@ SWIGINTERN PyObject *_wrap__UserHasSpecifiedIfUsingExceptions(PyObject *self, Py
|
|
|
6564
6564
|
if (!SWIG_Python_UnpackTuple(args, "_UserHasSpecifiedIfUsingExceptions", 0, 0, 0)) SWIG_fail;
|
|
6565
6565
|
{
|
|
6566
6566
|
#ifdef SED_HACKS
|
|
6567
|
-
if(
|
|
6567
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
6568
6568
|
#endif
|
|
6569
6569
|
{
|
|
6570
6570
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -3509,7 +3509,7 @@ void _DontUseExceptions() {
|
|
|
3509
3509
|
|
|
3510
3510
|
static int _UserHasSpecifiedIfUsingExceptions()
|
|
3511
3511
|
{
|
|
3512
|
-
return bUserHasSpecifiedIfUsingExceptions;
|
|
3512
|
+
return bUserHasSpecifiedIfUsingExceptions || bUseExceptionsLocal >= 0;
|
|
3513
3513
|
}
|
|
3514
3514
|
|
|
3515
3515
|
|
|
@@ -5033,9 +5033,6 @@ void GDAL_GCP_Id_set( GDAL_GCP *gcp, const char * pszId ) {
|
|
|
5033
5033
|
}
|
|
5034
5034
|
|
|
5035
5035
|
|
|
5036
|
-
#define t_output_helper SWIG_Python_AppendOutput
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
5036
|
static PyObject *
|
|
5040
5037
|
CreateTupleFromDoubleArray( const double *first, size_t size ) {
|
|
5041
5038
|
PyObject *out = PyTuple_New( size );
|
|
@@ -9422,7 +9419,7 @@ SWIGINTERN PyObject *_wrap_GetUseExceptions(PyObject *self, PyObject *args) {
|
|
|
9422
9419
|
if (!SWIG_Python_UnpackTuple(args, "GetUseExceptions", 0, 0, 0)) SWIG_fail;
|
|
9423
9420
|
{
|
|
9424
9421
|
#ifdef SED_HACKS
|
|
9425
|
-
if(
|
|
9422
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
9426
9423
|
#endif
|
|
9427
9424
|
result = GetUseExceptions();
|
|
9428
9425
|
}
|
|
@@ -9441,7 +9438,7 @@ SWIGINTERN PyObject *_wrap__GetExceptionsLocal(PyObject *self, PyObject *args) {
|
|
|
9441
9438
|
if (!SWIG_Python_UnpackTuple(args, "_GetExceptionsLocal", 0, 0, 0)) SWIG_fail;
|
|
9442
9439
|
{
|
|
9443
9440
|
#ifdef SED_HACKS
|
|
9444
|
-
if(
|
|
9441
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
9445
9442
|
#endif
|
|
9446
9443
|
{
|
|
9447
9444
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -9473,7 +9470,7 @@ SWIGINTERN PyObject *_wrap__SetExceptionsLocal(PyObject *self, PyObject *args) {
|
|
|
9473
9470
|
arg1 = static_cast< int >(val1);
|
|
9474
9471
|
{
|
|
9475
9472
|
#ifdef SED_HACKS
|
|
9476
|
-
if(
|
|
9473
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
9477
9474
|
#endif
|
|
9478
9475
|
{
|
|
9479
9476
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -9530,7 +9527,7 @@ SWIGINTERN PyObject *_wrap__UserHasSpecifiedIfUsingExceptions(PyObject *self, Py
|
|
|
9530
9527
|
if (!SWIG_Python_UnpackTuple(args, "_UserHasSpecifiedIfUsingExceptions", 0, 0, 0)) SWIG_fail;
|
|
9531
9528
|
{
|
|
9532
9529
|
#ifdef SED_HACKS
|
|
9533
|
-
if(
|
|
9530
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
9534
9531
|
#endif
|
|
9535
9532
|
{
|
|
9536
9533
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -19546,7 +19543,11 @@ SWIGINTERN PyObject *_wrap_GCPsToGeoTransform(PyObject *self, PyObject *args) {
|
|
|
19546
19543
|
{
|
|
19547
19544
|
/* %typemap(argout) (double argout[ANY]) */
|
|
19548
19545
|
PyObject *out = CreateTupleFromDoubleArray( arg3, 6 );
|
|
19549
|
-
|
|
19546
|
+
#if SWIG_VERSION >= 0x040300
|
|
19547
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out,$isvoid);
|
|
19548
|
+
#else
|
|
19549
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out);
|
|
19550
|
+
#endif
|
|
19550
19551
|
}
|
|
19551
19552
|
{
|
|
19552
19553
|
/* %typemap(freearg) (int nGCPs, GDAL_GCP const *pGCPs ) */
|
|
@@ -20799,7 +20800,11 @@ SWIGINTERN PyObject *_wrap_Dataset_GetGeoTransform(PyObject *self, PyObject *arg
|
|
|
20799
20800
|
else {
|
|
20800
20801
|
r = CreateTupleFromDoubleArray(arg2, 6);
|
|
20801
20802
|
}
|
|
20802
|
-
|
|
20803
|
+
#if 0x040101 >= 0x040300
|
|
20804
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
20805
|
+
#else
|
|
20806
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
20807
|
+
#endif
|
|
20803
20808
|
}
|
|
20804
20809
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
20805
20810
|
return resultobj;
|
|
@@ -23399,14 +23404,19 @@ SWIGINTERN PyObject *_wrap_Dataset_GetNextFeature(PyObject *self, PyObject *args
|
|
|
23399
23404
|
PyList_SetItem(resultobj, 0, Py_None);
|
|
23400
23405
|
}
|
|
23401
23406
|
|
|
23407
|
+
PyObject* r;
|
|
23402
23408
|
if ( !*arg4 ) {
|
|
23409
|
+
r = Py_None;
|
|
23403
23410
|
Py_INCREF(Py_None);
|
|
23404
|
-
resultobj = SWIG_Python_AppendOutput(resultobj, Py_None);
|
|
23405
23411
|
}
|
|
23406
23412
|
else {
|
|
23407
|
-
|
|
23408
|
-
SWIG_NewPointerObj(SWIG_as_voidptr( *arg4), SWIGTYPE_p_OGRLayerShadow, 0 ));
|
|
23413
|
+
r = SWIG_NewPointerObj(SWIG_as_voidptr( *arg4), SWIGTYPE_p_OGRLayerShadow, 0 );
|
|
23409
23414
|
}
|
|
23415
|
+
#if SWIG_VERSION >= 0x040300
|
|
23416
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
23417
|
+
#else
|
|
23418
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
23419
|
+
#endif
|
|
23410
23420
|
}
|
|
23411
23421
|
|
|
23412
23422
|
if( arg3 )
|
|
@@ -23416,7 +23426,12 @@ SWIGINTERN PyObject *_wrap_Dataset_GetNextFeature(PyObject *self, PyObject *args
|
|
|
23416
23426
|
resultobj = PyList_New(1);
|
|
23417
23427
|
PyList_SetItem(resultobj, 0, Py_None);
|
|
23418
23428
|
}
|
|
23419
|
-
|
|
23429
|
+
PyObject* r = PyFloat_FromDouble( *arg5);
|
|
23430
|
+
#if SWIG_VERSION >= 0x040300
|
|
23431
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
23432
|
+
#else
|
|
23433
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
23434
|
+
#endif
|
|
23420
23435
|
}
|
|
23421
23436
|
|
|
23422
23437
|
}
|
|
@@ -31135,12 +31150,15 @@ SWIGINTERN PyObject *_wrap_MDArray_GetNoDataValueAsDouble(PyObject *self, PyObje
|
|
|
31135
31150
|
if ( !*arg3 ) {
|
|
31136
31151
|
Py_INCREF(Py_None);
|
|
31137
31152
|
r = Py_None;
|
|
31138
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31139
31153
|
}
|
|
31140
31154
|
else {
|
|
31141
31155
|
r = PyFloat_FromDouble( *arg2 );
|
|
31142
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31143
31156
|
}
|
|
31157
|
+
#if SWIG_VERSION >= 0x040300
|
|
31158
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
31159
|
+
#else
|
|
31160
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
31161
|
+
#endif
|
|
31144
31162
|
}
|
|
31145
31163
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
31146
31164
|
return resultobj;
|
|
@@ -31201,12 +31219,15 @@ SWIGINTERN PyObject *_wrap_MDArray_GetNoDataValueAsInt64(PyObject *self, PyObjec
|
|
|
31201
31219
|
if ( !*arg3 ) {
|
|
31202
31220
|
Py_INCREF(Py_None);
|
|
31203
31221
|
r = Py_None;
|
|
31204
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31205
31222
|
}
|
|
31206
31223
|
else {
|
|
31207
31224
|
r = PyLong_FromLongLong( *arg2 );
|
|
31208
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31209
31225
|
}
|
|
31226
|
+
#if SWIG_VERSION >= 0x040300
|
|
31227
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
31228
|
+
#else
|
|
31229
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
31230
|
+
#endif
|
|
31210
31231
|
}
|
|
31211
31232
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
31212
31233
|
return resultobj;
|
|
@@ -31267,12 +31288,15 @@ SWIGINTERN PyObject *_wrap_MDArray_GetNoDataValueAsUInt64(PyObject *self, PyObje
|
|
|
31267
31288
|
if ( !*arg3 ) {
|
|
31268
31289
|
Py_INCREF(Py_None);
|
|
31269
31290
|
r = Py_None;
|
|
31270
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31271
31291
|
}
|
|
31272
31292
|
else {
|
|
31273
31293
|
r = PyLong_FromUnsignedLongLong( *arg2 );
|
|
31274
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31275
31294
|
}
|
|
31295
|
+
#if SWIG_VERSION >= 0x040300
|
|
31296
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
31297
|
+
#else
|
|
31298
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
31299
|
+
#endif
|
|
31276
31300
|
}
|
|
31277
31301
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
31278
31302
|
return resultobj;
|
|
@@ -31714,12 +31738,15 @@ SWIGINTERN PyObject *_wrap_MDArray_GetOffset(PyObject *self, PyObject *args) {
|
|
|
31714
31738
|
if ( !*arg3 ) {
|
|
31715
31739
|
Py_INCREF(Py_None);
|
|
31716
31740
|
r = Py_None;
|
|
31717
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31718
31741
|
}
|
|
31719
31742
|
else {
|
|
31720
31743
|
r = PyFloat_FromDouble( *arg2 );
|
|
31721
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31722
31744
|
}
|
|
31745
|
+
#if SWIG_VERSION >= 0x040300
|
|
31746
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
31747
|
+
#else
|
|
31748
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
31749
|
+
#endif
|
|
31723
31750
|
}
|
|
31724
31751
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
31725
31752
|
return resultobj;
|
|
@@ -31825,12 +31852,15 @@ SWIGINTERN PyObject *_wrap_MDArray_GetScale(PyObject *self, PyObject *args) {
|
|
|
31825
31852
|
if ( !*arg3 ) {
|
|
31826
31853
|
Py_INCREF(Py_None);
|
|
31827
31854
|
r = Py_None;
|
|
31828
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31829
31855
|
}
|
|
31830
31856
|
else {
|
|
31831
31857
|
r = PyFloat_FromDouble( *arg2 );
|
|
31832
|
-
resultobj = t_output_helper(resultobj,r);
|
|
31833
31858
|
}
|
|
31859
|
+
#if SWIG_VERSION >= 0x040300
|
|
31860
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
31861
|
+
#else
|
|
31862
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
31863
|
+
#endif
|
|
31834
31864
|
}
|
|
31835
31865
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
31836
31866
|
return resultobj;
|
|
@@ -36405,7 +36435,11 @@ SWIGINTERN PyObject *_wrap_Band_GetActualBlockSize(PyObject *self, PyObject *arg
|
|
|
36405
36435
|
PyTuple_SetItem( r, 0, PyLong_FromLong(*arg4) );
|
|
36406
36436
|
PyTuple_SetItem( r, 1, PyLong_FromLong(*arg5) );
|
|
36407
36437
|
}
|
|
36408
|
-
|
|
36438
|
+
#if SWIG_VERSION >= 0x040300
|
|
36439
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
36440
|
+
#else
|
|
36441
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
36442
|
+
#endif
|
|
36409
36443
|
}
|
|
36410
36444
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
36411
36445
|
return resultobj;
|
|
@@ -36660,12 +36694,15 @@ SWIGINTERN PyObject *_wrap_Band_GetNoDataValue(PyObject *self, PyObject *args) {
|
|
|
36660
36694
|
if ( !*arg3 ) {
|
|
36661
36695
|
Py_INCREF(Py_None);
|
|
36662
36696
|
r = Py_None;
|
|
36663
|
-
resultobj = t_output_helper(resultobj,r);
|
|
36664
36697
|
}
|
|
36665
36698
|
else {
|
|
36666
36699
|
r = PyFloat_FromDouble( *arg2 );
|
|
36667
|
-
resultobj = t_output_helper(resultobj,r);
|
|
36668
36700
|
}
|
|
36701
|
+
#if SWIG_VERSION >= 0x040300
|
|
36702
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
36703
|
+
#else
|
|
36704
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
36705
|
+
#endif
|
|
36669
36706
|
}
|
|
36670
36707
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
36671
36708
|
return resultobj;
|
|
@@ -36726,12 +36763,15 @@ SWIGINTERN PyObject *_wrap_Band_GetNoDataValueAsInt64(PyObject *self, PyObject *
|
|
|
36726
36763
|
if ( !*arg3 ) {
|
|
36727
36764
|
Py_INCREF(Py_None);
|
|
36728
36765
|
r = Py_None;
|
|
36729
|
-
resultobj = t_output_helper(resultobj,r);
|
|
36730
36766
|
}
|
|
36731
36767
|
else {
|
|
36732
36768
|
r = PyLong_FromLongLong( *arg2 );
|
|
36733
|
-
resultobj = t_output_helper(resultobj,r);
|
|
36734
36769
|
}
|
|
36770
|
+
#if SWIG_VERSION >= 0x040300
|
|
36771
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
36772
|
+
#else
|
|
36773
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
36774
|
+
#endif
|
|
36735
36775
|
}
|
|
36736
36776
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
36737
36777
|
return resultobj;
|
|
@@ -36792,12 +36832,15 @@ SWIGINTERN PyObject *_wrap_Band_GetNoDataValueAsUInt64(PyObject *self, PyObject
|
|
|
36792
36832
|
if ( !*arg3 ) {
|
|
36793
36833
|
Py_INCREF(Py_None);
|
|
36794
36834
|
r = Py_None;
|
|
36795
|
-
resultobj = t_output_helper(resultobj,r);
|
|
36796
36835
|
}
|
|
36797
36836
|
else {
|
|
36798
36837
|
r = PyLong_FromUnsignedLongLong( *arg2 );
|
|
36799
|
-
resultobj = t_output_helper(resultobj,r);
|
|
36800
36838
|
}
|
|
36839
|
+
#if SWIG_VERSION >= 0x040300
|
|
36840
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
36841
|
+
#else
|
|
36842
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
36843
|
+
#endif
|
|
36801
36844
|
}
|
|
36802
36845
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
36803
36846
|
return resultobj;
|
|
@@ -37280,12 +37323,15 @@ SWIGINTERN PyObject *_wrap_Band_GetMinimum(PyObject *self, PyObject *args) {
|
|
|
37280
37323
|
if ( !*arg3 ) {
|
|
37281
37324
|
Py_INCREF(Py_None);
|
|
37282
37325
|
r = Py_None;
|
|
37283
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37284
37326
|
}
|
|
37285
37327
|
else {
|
|
37286
37328
|
r = PyFloat_FromDouble( *arg2 );
|
|
37287
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37288
37329
|
}
|
|
37330
|
+
#if SWIG_VERSION >= 0x040300
|
|
37331
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
37332
|
+
#else
|
|
37333
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
37334
|
+
#endif
|
|
37289
37335
|
}
|
|
37290
37336
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
37291
37337
|
return resultobj;
|
|
@@ -37346,12 +37392,15 @@ SWIGINTERN PyObject *_wrap_Band_GetMaximum(PyObject *self, PyObject *args) {
|
|
|
37346
37392
|
if ( !*arg3 ) {
|
|
37347
37393
|
Py_INCREF(Py_None);
|
|
37348
37394
|
r = Py_None;
|
|
37349
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37350
37395
|
}
|
|
37351
37396
|
else {
|
|
37352
37397
|
r = PyFloat_FromDouble( *arg2 );
|
|
37353
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37354
37398
|
}
|
|
37399
|
+
#if SWIG_VERSION >= 0x040300
|
|
37400
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
37401
|
+
#else
|
|
37402
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
37403
|
+
#endif
|
|
37355
37404
|
}
|
|
37356
37405
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
37357
37406
|
return resultobj;
|
|
@@ -37412,12 +37461,15 @@ SWIGINTERN PyObject *_wrap_Band_GetOffset(PyObject *self, PyObject *args) {
|
|
|
37412
37461
|
if ( !*arg3 ) {
|
|
37413
37462
|
Py_INCREF(Py_None);
|
|
37414
37463
|
r = Py_None;
|
|
37415
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37416
37464
|
}
|
|
37417
37465
|
else {
|
|
37418
37466
|
r = PyFloat_FromDouble( *arg2 );
|
|
37419
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37420
37467
|
}
|
|
37468
|
+
#if SWIG_VERSION >= 0x040300
|
|
37469
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
37470
|
+
#else
|
|
37471
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
37472
|
+
#endif
|
|
37421
37473
|
}
|
|
37422
37474
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
37423
37475
|
return resultobj;
|
|
@@ -37478,12 +37530,15 @@ SWIGINTERN PyObject *_wrap_Band_GetScale(PyObject *self, PyObject *args) {
|
|
|
37478
37530
|
if ( !*arg3 ) {
|
|
37479
37531
|
Py_INCREF(Py_None);
|
|
37480
37532
|
r = Py_None;
|
|
37481
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37482
37533
|
}
|
|
37483
37534
|
else {
|
|
37484
37535
|
r = PyFloat_FromDouble( *arg2 );
|
|
37485
|
-
resultobj = t_output_helper(resultobj,r);
|
|
37486
37536
|
}
|
|
37537
|
+
#if SWIG_VERSION >= 0x040300
|
|
37538
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
37539
|
+
#else
|
|
37540
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
37541
|
+
#endif
|
|
37487
37542
|
}
|
|
37488
37543
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
37489
37544
|
return resultobj;
|
|
@@ -38221,7 +38276,11 @@ SWIGINTERN PyObject *_wrap_Band_ComputeRasterMinMax(PyObject *self, PyObject *ar
|
|
|
38221
38276
|
else {
|
|
38222
38277
|
r = CreateTupleFromDoubleArray(arg2, 2);
|
|
38223
38278
|
}
|
|
38224
|
-
|
|
38279
|
+
#if 0x040101 >= 0x040300
|
|
38280
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
38281
|
+
#else
|
|
38282
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
38283
|
+
#endif
|
|
38225
38284
|
}
|
|
38226
38285
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
38227
38286
|
return resultobj;
|
|
@@ -38286,7 +38345,11 @@ SWIGINTERN PyObject *_wrap_Band_ComputeBandStats(PyObject *self, PyObject *args)
|
|
|
38286
38345
|
{
|
|
38287
38346
|
/* %typemap(argout) (double argout[ANY]) */
|
|
38288
38347
|
PyObject *out = CreateTupleFromDoubleArray( arg2, 2 );
|
|
38289
|
-
|
|
38348
|
+
#if SWIG_VERSION >= 0x040300
|
|
38349
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out,$isvoid);
|
|
38350
|
+
#else
|
|
38351
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out);
|
|
38352
|
+
#endif
|
|
38290
38353
|
}
|
|
38291
38354
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
38292
38355
|
return resultobj;
|
|
@@ -46134,7 +46197,11 @@ SWIGINTERN PyObject *_wrap_IsLineOfSightVisible(PyObject *self, PyObject *args,
|
|
|
46134
46197
|
PyTuple_SetItem( r, 0, PyBool_FromLong(*arg8) );
|
|
46135
46198
|
PyTuple_SetItem( r, 1, PyLong_FromLong(*arg9) );
|
|
46136
46199
|
PyTuple_SetItem( r, 2, PyLong_FromLong(*arg10) );
|
|
46137
|
-
|
|
46200
|
+
#if SWIG_VERSION >= 0x040300
|
|
46201
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r,$isvoid);
|
|
46202
|
+
#else
|
|
46203
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,r);
|
|
46204
|
+
#endif
|
|
46138
46205
|
}
|
|
46139
46206
|
{
|
|
46140
46207
|
/* %typemap(freearg) char **dict */
|
|
@@ -46469,7 +46536,11 @@ SWIGINTERN PyObject *_wrap_GDALTransformerInfoShadow_TransformPoint__SWIG_0(PyOb
|
|
|
46469
46536
|
{
|
|
46470
46537
|
/* %typemap(argout) (double argout[ANY]) */
|
|
46471
46538
|
PyObject *out = CreateTupleFromDoubleArray( arg3, 3 );
|
|
46472
|
-
|
|
46539
|
+
#if SWIG_VERSION >= 0x040300
|
|
46540
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out,$isvoid);
|
|
46541
|
+
#else
|
|
46542
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out);
|
|
46543
|
+
#endif
|
|
46473
46544
|
}
|
|
46474
46545
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
46475
46546
|
return resultobj;
|
|
@@ -46558,7 +46629,11 @@ SWIGINTERN PyObject *_wrap_GDALTransformerInfoShadow_TransformPoint__SWIG_1(PyOb
|
|
|
46558
46629
|
{
|
|
46559
46630
|
/* %typemap(argout) (double argout[ANY]) */
|
|
46560
46631
|
PyObject *out = CreateTupleFromDoubleArray( arg2, 3 );
|
|
46561
|
-
|
|
46632
|
+
#if SWIG_VERSION >= 0x040300
|
|
46633
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out,$isvoid);
|
|
46634
|
+
#else
|
|
46635
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out);
|
|
46636
|
+
#endif
|
|
46562
46637
|
}
|
|
46563
46638
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
46564
46639
|
return resultobj;
|
|
@@ -47307,7 +47382,11 @@ SWIGINTERN PyObject *_wrap_SuggestedWarpOutputRes_GetGeotransform(PyObject *self
|
|
|
47307
47382
|
{
|
|
47308
47383
|
/* %typemap(argout) (double argout[ANY]) */
|
|
47309
47384
|
PyObject *out = CreateTupleFromDoubleArray( arg2, 6 );
|
|
47310
|
-
|
|
47385
|
+
#if SWIG_VERSION >= 0x040300
|
|
47386
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out,$isvoid);
|
|
47387
|
+
#else
|
|
47388
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out);
|
|
47389
|
+
#endif
|
|
47311
47390
|
}
|
|
47312
47391
|
if ( ReturnSame(bLocalUseExceptionsCode) ) { CPLErr eclass = CPLGetLastErrorType(); if ( eclass == CE_Failure || eclass == CE_Fatal ) { Py_XDECREF(resultobj); SWIG_Error( SWIG_RuntimeError, CPLGetLastErrorMsg() ); return NULL; } }
|
|
47313
47392
|
return resultobj;
|
|
@@ -47750,7 +47829,11 @@ SWIGINTERN PyObject *_wrap_InvGeoTransform(PyObject *self, PyObject *args) {
|
|
|
47750
47829
|
{
|
|
47751
47830
|
/* %typemap(argout) (double argout[ANY]) */
|
|
47752
47831
|
PyObject *out = CreateTupleFromDoubleArray( arg2, 6 );
|
|
47753
|
-
|
|
47832
|
+
#if SWIG_VERSION >= 0x040300
|
|
47833
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out,$isvoid);
|
|
47834
|
+
#else
|
|
47835
|
+
resultobj = SWIG_Python_AppendOutput(resultobj,out);
|
|
47836
|
+
#endif
|
|
47754
47837
|
}
|
|
47755
47838
|
{
|
|
47756
47839
|
/* %typemap(ret) IF_FALSE_RETURN_NONE */
|
|
@@ -3287,7 +3287,7 @@ void _DontUseExceptions() {
|
|
|
3287
3287
|
|
|
3288
3288
|
static int _UserHasSpecifiedIfUsingExceptions()
|
|
3289
3289
|
{
|
|
3290
|
-
return bUserHasSpecifiedIfUsingExceptions;
|
|
3290
|
+
return bUserHasSpecifiedIfUsingExceptions || bUseExceptionsLocal >= 0;
|
|
3291
3291
|
}
|
|
3292
3292
|
|
|
3293
3293
|
|
|
@@ -4215,7 +4215,7 @@ SWIGINTERN PyObject *_wrap_GetUseExceptions(PyObject *self, PyObject *args) {
|
|
|
4215
4215
|
if (!SWIG_Python_UnpackTuple(args, "GetUseExceptions", 0, 0, 0)) SWIG_fail;
|
|
4216
4216
|
{
|
|
4217
4217
|
#ifdef SED_HACKS
|
|
4218
|
-
if(
|
|
4218
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
4219
4219
|
#endif
|
|
4220
4220
|
result = GetUseExceptions();
|
|
4221
4221
|
}
|
|
@@ -4234,7 +4234,7 @@ SWIGINTERN PyObject *_wrap__GetExceptionsLocal(PyObject *self, PyObject *args) {
|
|
|
4234
4234
|
if (!SWIG_Python_UnpackTuple(args, "_GetExceptionsLocal", 0, 0, 0)) SWIG_fail;
|
|
4235
4235
|
{
|
|
4236
4236
|
#ifdef SED_HACKS
|
|
4237
|
-
if(
|
|
4237
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
4238
4238
|
#endif
|
|
4239
4239
|
{
|
|
4240
4240
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -4266,7 +4266,7 @@ SWIGINTERN PyObject *_wrap__SetExceptionsLocal(PyObject *self, PyObject *args) {
|
|
|
4266
4266
|
arg1 = static_cast< int >(val1);
|
|
4267
4267
|
{
|
|
4268
4268
|
#ifdef SED_HACKS
|
|
4269
|
-
if(
|
|
4269
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
4270
4270
|
#endif
|
|
4271
4271
|
{
|
|
4272
4272
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|
|
@@ -4323,7 +4323,7 @@ SWIGINTERN PyObject *_wrap__UserHasSpecifiedIfUsingExceptions(PyObject *self, Py
|
|
|
4323
4323
|
if (!SWIG_Python_UnpackTuple(args, "_UserHasSpecifiedIfUsingExceptions", 0, 0, 0)) SWIG_fail;
|
|
4324
4324
|
{
|
|
4325
4325
|
#ifdef SED_HACKS
|
|
4326
|
-
if(
|
|
4326
|
+
if( ReturnSame(TRUE) ) bLocalUseExceptionsCode = FALSE;
|
|
4327
4327
|
#endif
|
|
4328
4328
|
{
|
|
4329
4329
|
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
|