[Django] #27421: Add support for size, shape, and offset parameters on instantiation of GDALRaster objects.

2 views
Skip to first unread message

Django

unread,
Nov 2, 2016, 10:04:41 AM11/2/16
to django-...@googlegroups.com
#27421: Add support for size, shape, and offset parameters on instantiation of
GDALRaster objects.
-------------------------------------+-------------------------------------
Reporter: Daniel | Owner: Daniel Wiesmann
Wiesmann |
Type: New | Status: assigned
feature |
Component: GIS | Version: master
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The
[https://docs.djangoproject.com/en/dev/ref/contrib/gis/gdal/#django.contrib.gis.gdal.GDALBand.data
data() method on GDALBand objects for setting pixel values] accepts
parameters that allow fine grained control over the pixel values. The
parameters are `size`, `shape`, and `offset`. Band data values can be
replicated (for fast writing of blocks of equal data values for instance)
and specific blocks of data can be written.

This functionality should also be available directly when instantiating
GDALRaster objects. So that band data values can be controlled with more
detail on raster creation.

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

Django

unread,
Nov 2, 2016, 10:10:57 AM11/2/16
to django-...@googlegroups.com
#27421: Add support for size, shape, and offset parameters on instantiation of
GDALRaster objects.
-------------------------------------+-------------------------------------
Reporter: Daniel Wiesmann | Owner: Daniel
| Wiesmann
Type: New feature | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Daniel Wiesmann):

* has_patch: 0 => 1


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

Django

unread,
Nov 2, 2016, 10:31:11 AM11/2/16
to django-...@googlegroups.com
#27421: Add support for size, shape, and offset parameters on instantiation of
GDALRaster objects.
-------------------------------------+-------------------------------------
Reporter: Daniel Wiesmann | Owner: Daniel
| Wiesmann
Type: New feature | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted


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

Django

unread,
Nov 11, 2016, 7:09:57 AM11/11/16
to django-...@googlegroups.com
#27421: Add support for size, shape, and offset parameters on instantiation of
GDALRaster objects.
-------------------------------------+-------------------------------------
Reporter: Daniel Wiesmann | Owner: Daniel
| Wiesmann
Type: New feature | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

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

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


Comment:

In [changeset:"2dc07da497f5ae95ad34a4714e330fae1fa8413c" 2dc07da]:
{{{
#!CommitTicketReference repository=""
revision="2dc07da497f5ae95ad34a4714e330fae1fa8413c"
Fixed #27421 -- Added shape, size, and offset controls to GDALRaster
constructor.

Thanks Tim Graham for the review.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27421#comment:3>

Django

unread,
Jan 31, 2017, 11:33:19 AM1/31/17
to django-...@googlegroups.com
#27421: Add support for size, shape, and offset parameters on instantiation of
GDALRaster objects.
-------------------------------------+-------------------------------------
Reporter: Daniel Wiesmann | Owner: Daniel
| Wiesmann
Type: New feature | Status: closed
Component: GIS | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"ed3215ad53c0b22c58883f97286a878c577e25d6" ed3215ad]:
{{{
#!CommitTicketReference repository=""
revision="ed3215ad53c0b22c58883f97286a878c577e25d6"
Refs #27421 -- Documented GDALRaster creation in detail.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27421#comment:4>

Django

unread,
Jan 31, 2017, 11:38:33 AM1/31/17
to django-...@googlegroups.com
#27421: Add support for size, shape, and offset parameters on instantiation of
GDALRaster objects.
-------------------------------------+-------------------------------------
Reporter: Daniel Wiesmann | Owner: Daniel
| Wiesmann
Type: New feature | Status: closed
Component: GIS | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"8afe790df91faf45f13bccbb69310b45afcb1b30" 8afe790]:
{{{
#!CommitTicketReference repository=""
revision="8afe790df91faf45f13bccbb69310b45afcb1b30"
[1.11.x] Refs #27421 -- Documented GDALRaster creation in detail.

Backport of ed3215ad53c0b22c58883f97286a878c577e25d6 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27421#comment:5>

Reply all
Reply to author
Forward
0 new messages