#27421 closed New feature (fixed)
Add support for size, shape, and offset parameters on instantiation of GDALRaster objects.
Reported by: | Daniel Wiesmann | Owned by: | Daniel Wiesmann |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The 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.
Note:
See TracTickets
for help on using tickets.
PR