[Django] #26417: Allow setting GDALBand data with replicated input.

1 view
Skip to first unread message

Django

unread,
Mar 29, 2016, 8:03:04 AM3/29/16
to django-...@googlegroups.com
#26417: Allow setting GDALBand data with replicated input.
-----------------------------+-----------------------------
Reporter: yellowcap | Owner: yellowcap
Type: New feature | Status: new
Component: GIS | Version: 1.9
Severity: Normal | Keywords: raster gdal gis
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------+-----------------------------
Currently band data can only be set with "explicit" values, so to fill a
band with a single value, a large array with this value has to be passed
to the GDALBand's `data()` method.

The underlying `capi` function `GDALRasterIo` automatically replicates
data if only a partial array is passed to it. Exposing this functionality
in Django's GDAL api improve its usability for this kind of operations on
large rasters.

--
Ticket URL: <https://code.djangoproject.com/ticket/26417>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 29, 2016, 8:26:05 AM3/29/16
to django-...@googlegroups.com
#26417: Allow setting GDALBand data with replicated input.
---------------------------------+-------------------------------------

Reporter: yellowcap | Owner: yellowcap
Type: New feature | Status: new
Component: GIS | Version: 1.9
Severity: Normal | Resolution:
Keywords: raster gdal gis | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
Changes (by timgraham):

* needs_better_patch: => 1
* needs_docs: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/26417#comment:1>

Django

unread,
Mar 29, 2016, 11:10:05 AM3/29/16
to django-...@googlegroups.com
#26417: Allow setting GDALBand data with replicated input.
---------------------------------+-------------------------------------
Reporter: yellowcap | Owner: yellowcap
Type: New feature | Status: closed
Component: GIS | Version: 1.9
Severity: Normal | Resolution: fixed

Keywords: raster gdal gis | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"870dd1d38b8f9238ddc917bbb55cee54ce37a0b2" 870dd1d3]:
{{{
#!CommitTicketReference repository=""
revision="870dd1d38b8f9238ddc917bbb55cee54ce37a0b2"
Fixed #26417 -- Allowed setting GDALBand data with partial values.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26417#comment:2>

Reply all
Reply to author
Forward
0 new messages