GDAL 3.11.2__tar.gz → 3.11.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.
Files changed (138) hide show
  1. {gdal-3.11.2 → gdal-3.11.4}/PKG-INFO +2 -2
  2. {gdal-3.11.2 → gdal-3.11.4}/README.rst +1 -1
  3. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/PKG-INFO +2 -2
  4. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/__init__.py +1 -1
  5. {gdal-3.11.2 → gdal-3.11.4}/osgeo/gdal_array.py +14 -0
  6. {gdal-3.11.2 → gdal-3.11.4}/setup.py +1 -1
  7. {gdal-3.11.2 → gdal-3.11.4}/extensions/gdal_array_wrap.cpp +0 -0
  8. {gdal-3.11.2 → gdal-3.11.4}/extensions/gdal_wrap.cpp +0 -0
  9. {gdal-3.11.2 → gdal-3.11.4}/extensions/gdalconst_wrap.c +0 -0
  10. {gdal-3.11.2 → gdal-3.11.4}/extensions/gnm_wrap.cpp +0 -0
  11. {gdal-3.11.2 → gdal-3.11.4}/extensions/ogr_wrap.cpp +0 -0
  12. {gdal-3.11.2 → gdal-3.11.4}/extensions/osr_wrap.cpp +0 -0
  13. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/SOURCES.txt +0 -0
  14. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/dependency_links.txt +0 -0
  15. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/entry_points.txt +0 -0
  16. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/not-zip-safe +0 -0
  17. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/requires.txt +0 -0
  18. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/GDAL.egg-info/top_level.txt +0 -0
  19. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/__init__.py +0 -0
  20. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/array_util.py +0 -0
  21. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/base.py +0 -0
  22. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/batch_creator.py +0 -0
  23. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/color_palette.py +0 -0
  24. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/color_table.py +0 -0
  25. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/extent_util.py +0 -0
  26. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py +0 -0
  27. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/numpy_util.py +0 -0
  28. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/osr_util.py +0 -0
  29. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/progress.py +0 -0
  30. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/raster_creation.py +0 -0
  31. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/rectangle.py +0 -0
  32. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/auxiliary/util.py +0 -0
  33. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal2tiles.py +0 -0
  34. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal2xyz.py +0 -0
  35. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_calc.py +0 -0
  36. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_edit.py +0 -0
  37. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_fillnodata.py +0 -0
  38. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_merge.py +0 -0
  39. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_pansharpen.py +0 -0
  40. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_polygonize.py +0 -0
  41. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_proximity.py +0 -0
  42. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_retile.py +0 -0
  43. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdal_sieve.py +0 -0
  44. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdalattachpct.py +0 -0
  45. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdalcompare.py +0 -0
  46. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/gdalmove.py +0 -0
  47. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/ogr_layer_algebra.py +0 -0
  48. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/ogrmerge.py +0 -0
  49. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/pct2rgb.py +0 -0
  50. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/rgb2pct.py +0 -0
  51. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/__init__.py +0 -0
  52. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/assemblepoly.py +0 -0
  53. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py +0 -0
  54. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/classify.py +0 -0
  55. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/crs2crs2grid.py +0 -0
  56. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/densify.py +0 -0
  57. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/dump_jp2.py +0 -0
  58. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/epsg_tr.py +0 -0
  59. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/esri2wkt.py +0 -0
  60. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/fft.py +0 -0
  61. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/fix_gpkg.py +0 -0
  62. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gcps2ogr.py +0 -0
  63. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gcps2vec.py +0 -0
  64. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gcps2wld.py +0 -0
  65. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal2grd.py +0 -0
  66. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_auth.py +0 -0
  67. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_cp.py +0 -0
  68. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_create_pdf.py +0 -0
  69. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_ls.py +0 -0
  70. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_lut.py +0 -0
  71. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_minmax_location.py +0 -0
  72. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_mkdir.py +0 -0
  73. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py +0 -0
  74. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_rm.py +0 -0
  75. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_rmdir.py +0 -0
  76. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdal_vrtmerge.py +0 -0
  77. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalbuildvrtofvrt.py +0 -0
  78. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalchksum.py +0 -0
  79. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalcopyproj.py +0 -0
  80. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalfilter.py +0 -0
  81. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalident.py +0 -0
  82. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalimport.py +0 -0
  83. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdalinfo.py +0 -0
  84. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/gdallocationinfo.py +0 -0
  85. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/get_soundg.py +0 -0
  86. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/histrep.py +0 -0
  87. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/hsv_merge.py +0 -0
  88. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py +0 -0
  89. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/load2odbc.py +0 -0
  90. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/loslas2ntv2.py +0 -0
  91. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/magphase.py +0 -0
  92. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py +0 -0
  93. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/mkgraticule.py +0 -0
  94. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/ogr2vrt.py +0 -0
  95. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py +0 -0
  96. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/ogr_dispatch.py +0 -0
  97. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/ogrinfo.py +0 -0
  98. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/ogrupdate.py +0 -0
  99. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/rel.py +0 -0
  100. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/tigerpoly.py +0 -0
  101. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py +0 -0
  102. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/tolatlong.py +0 -0
  103. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/val_repl.py +0 -0
  104. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py +0 -0
  105. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/validate_geoparquet.py +0 -0
  106. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/validate_gpkg.py +0 -0
  107. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/validate_jp2.py +0 -0
  108. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/vec_tr.py +0 -0
  109. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/vec_tr_spat.py +0 -0
  110. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/osgeo_utils/samples/wcs_virtds_params.py +0 -0
  111. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal2tiles.py +0 -0
  112. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal2xyz.py +0 -0
  113. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_calc.py +0 -0
  114. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_edit.py +0 -0
  115. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_fillnodata.py +0 -0
  116. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_merge.py +0 -0
  117. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_pansharpen.py +0 -0
  118. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_polygonize.py +0 -0
  119. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_proximity.py +0 -0
  120. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_retile.py +0 -0
  121. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdal_sieve.py +0 -0
  122. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdalattachpct.py +0 -0
  123. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdalcompare.py +0 -0
  124. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/gdalmove.py +0 -0
  125. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/ogr_layer_algebra.py +0 -0
  126. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/ogrmerge.py +0 -0
  127. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/pct2rgb.py +0 -0
  128. {gdal-3.11.2 → gdal-3.11.4}/gdal-utils/scripts/rgb2pct.py +0 -0
  129. {gdal-3.11.2 → gdal-3.11.4}/osgeo/__init__.py +0 -0
  130. {gdal-3.11.2 → gdal-3.11.4}/osgeo/gdal.py +0 -0
  131. {gdal-3.11.2 → gdal-3.11.4}/osgeo/gdal_fsspec.py +0 -0
  132. {gdal-3.11.2 → gdal-3.11.4}/osgeo/gdalconst.py +0 -0
  133. {gdal-3.11.2 → gdal-3.11.4}/osgeo/gdalnumeric.py +0 -0
  134. {gdal-3.11.2 → gdal-3.11.4}/osgeo/gnm.py +0 -0
  135. {gdal-3.11.2 → gdal-3.11.4}/osgeo/ogr.py +0 -0
  136. {gdal-3.11.2 → gdal-3.11.4}/osgeo/osr.py +0 -0
  137. {gdal-3.11.2 → gdal-3.11.4}/pyproject.toml +0 -0
  138. {gdal-3.11.2 → gdal-3.11.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GDAL
3
- Version: 3.11.2
3
+ Version: 3.11.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
@@ -63,7 +63,7 @@ special about gdal.)
63
63
 
64
64
  * SWIG (4 or greater).
65
65
 
66
- * libgdal (3.11.2 or greater).
66
+ * libgdal (3.11.4 or greater).
67
67
 
68
68
  * numpy (1.0.0 or greater). This is not force-required by the build,
69
69
  but many examples and utilities will not work without it. At least
@@ -29,7 +29,7 @@ special about gdal.)
29
29
 
30
30
  * SWIG (4 or greater).
31
31
 
32
- * libgdal (3.11.2 or greater).
32
+ * libgdal (3.11.4 or greater).
33
33
 
34
34
  * numpy (1.0.0 or greater). This is not force-required by the build,
35
35
  but many examples and utilities will not work without it. At least
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GDAL
3
- Version: 3.11.2
3
+ Version: 3.11.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
@@ -63,7 +63,7 @@ special about gdal.)
63
63
 
64
64
  * SWIG (4 or greater).
65
65
 
66
- * libgdal (3.11.2 or greater).
66
+ * libgdal (3.11.4 or greater).
67
67
 
68
68
  * numpy (1.0.0 or greater). This is not force-required by the build,
69
69
  but many examples and utilities will not work without it. At least
@@ -1,5 +1,5 @@
1
1
  __package_name__ = "gdal-utils"
2
- gdal_utils_version = (3, 11, 2, 0)
2
+ gdal_utils_version = (3, 11, 4, 0)
3
3
  __version__ = ".".join(str(i) for i in gdal_utils_version)
4
4
  __author__ = "Frank Warmerdam"
5
5
  __author_email__ = "warmerdam@pobox.com"
@@ -554,6 +554,11 @@ def DatasetWriteArray(ds, array, xoff=0, yoff=0,
554
554
  if array is None or len(array.shape) != 3:
555
555
  raise ValueError("expected array of dim 3")
556
556
 
557
+ # GDALRasterIO() thinks that a 0-stride means the "natural" stride,
558
+ # so to avoid issues, do a copy of the array
559
+ if array.strides[0] == 0 or array.strides[1] == 0 or array.strides[2] == 0:
560
+ array = array.astype(array.dtype)
561
+
557
562
  xsize = array.shape[xdim]
558
563
  ysize = array.shape[ydim]
559
564
 
@@ -666,6 +671,11 @@ def BandWriteArray(band, array, xoff=0, yoff=0,
666
671
  xoff = _to_primitive_type(xoff)
667
672
  yoff = _to_primitive_type(yoff)
668
673
 
674
+ # GDALRasterIO() thinks that a 0-stride means the "natural" stride,
675
+ # so to avoid issues, do a copy of the array
676
+ if array.strides[0] == 0 or array.strides[1] == 0:
677
+ array = array.astype(array.dtype)
678
+
669
679
  xsize = array.shape[1]
670
680
  ysize = array.shape[0]
671
681
 
@@ -833,6 +843,10 @@ def RATReadArray(rat, field, start=0, length=None):
833
843
  if length is None:
834
844
  length = rat.GetRowCount() - start
835
845
 
846
+ if length < 0:
847
+ gdal.Error(gdal.CE_Failure, gdal.CPLE_AppDefined, "length must be a positive integer")
848
+ _RaiseException()
849
+
836
850
  ret = RATValuesIONumPyRead(rat, field, start, length)
837
851
  if ret is None:
838
852
  _RaiseException()
@@ -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.11.2'
21
+ version = '3.11.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