[PATCH] gdal_calc.py: support raster files with different dimensions
|Reported by:||nonpenso||Owned by:||warmerdam|
I have done some enhancements to the command line raster calculator gdal_calc.py. This new script supports raster files with different dimensions, the output extent is set on the overlapping area.
New process restrictions are:
- layers must have the same projection
- layers must have the same pixel size and rotation
- layers must be snapped: layers aligned with overlapping pixels
- layers must overlap: layers with a common extent
All restrictions are checked before the computation. Concerning pixel size and snap, the checks are performed with a given tolerance of 0.00001: variable name is "Tolfactor".
Change History (5)
comment:3 by , 8 years ago
|Summary:||Enhancements to gdal_calc.py - raster calculator → [PATCH] gdal_calc.py: support raster files with different dimensions|