Version 1 (modified by 8 years ago) ( diff ) | ,
---|
RFC 62 : Raster algebra
Author: Ari Jolma
Contact: ari.jolma at gmail.com
Status: Development
Implementation in version:
Summary
It is proposed that a set of functions or methods for raster band object are written to support "raster algebra", i.e., a set of operations, which modify bands or compute values from bands. An example of a modification is adding a value to all the cells of the band. An example of a computation is the maximum cell value in the band. Operations may or may not arguments, in addition to the band itself, and if they take, then the argument may be a numeric value, a complex data structure, or another band. Similarly, the computed value may be a simple numeric value, a complex data structure, or another band.
Rationale
Raster algebra is a well known branch of geospatial science and technology and an often needed tool. Currently GDAL does not have comprehensive support for raster algebra in core.
Changes
The RFC can be implemented as methods in the RasterBand class or as a set of C callable functions. This needs to be decided.
Drivers
Drivers are not affected.
Bindings
The functionality will be added to the bindings.
Utilities
A new utility will be written to take advantage of the functionality.
Documentation
Will be written.
Test Suite
Will be written.
Compatibility Issues
Related tickets
Implementation
The implementation will be done by Ari Jolma.
The proposed implementation will be in https://github.com/ajolma/gdal