1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #26415 -- Allowed deleting nodata value on GDALBands.

This commit is contained in:
Daniel Wiesmann
2016-03-28 19:12:10 +01:00
committed by Tim Graham
parent a7c813ba04
commit f1db8c36e9
4 changed files with 37 additions and 4 deletions

View File

@@ -1456,10 +1456,18 @@ blue.
to mark pixels that are not valid data. Such pixels should generally not
be displayed, nor contribute to analysis operations.
To delete an existing "no data" value, set this property to ``None``
(requires GDAL ≥ 2.1).
.. versionchanged:: 1.9
This property can now be set as well.
.. versionchanged:: 1.10
The "no data" value can now be deleted by setting the
``nodata_value`` attribute to ``None``.
.. method:: datatype(as_string=False)
The data type contained in the band, as an integer constant between 0