| 1 | = RFC 62 : Raster algebra = |
| 2 | |
| 3 | Author: Ari Jolma[[BR]] |
| 4 | |
| 5 | Contact: ari.jolma at gmail.com[[BR]] |
| 6 | |
| 7 | Status: Development[[BR]] |
| 8 | |
| 9 | Implementation in version: |
| 10 | |
| 11 | == Summary == |
| 12 | |
| 13 | 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. |
| 14 | |
| 15 | == Rationale == |
| 16 | |
| 17 | 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. |
| 18 | |
| 19 | == Changes == |
| 20 | |
| 21 | The RFC can be implemented as methods in the !RasterBand class or as a set of C callable functions. This needs to be decided. |
| 22 | |
| 23 | == Drivers == |
| 24 | |
| 25 | Drivers are not affected. |
| 26 | |
| 27 | == Bindings == |
| 28 | |
| 29 | The functionality will be added to the bindings. |
| 30 | |
| 31 | == Utilities == |
| 32 | |
| 33 | A new utility will be written to take advantage of the functionality. |
| 34 | |
| 35 | == Documentation == |
| 36 | |
| 37 | Will be written. |
| 38 | |
| 39 | == Test Suite == |
| 40 | |
| 41 | Will be written. |
| 42 | |
| 43 | == Compatibility Issues == |
| 44 | |
| 45 | == Related tickets == |
| 46 | |
| 47 | == Implementation == |
| 48 | |
| 49 | The implementation will be done by Ari Jolma. |
| 50 | |
| 51 | The proposed implementation will be in https://github.com/ajolma/gdal |
| 52 | |
| 53 | == Voting history |
| 54 | |