89 | | TBD |
| 89 | This function returns true if both raster grid are aligned. |
| 90 | |
| 91 | For two raster to be aligned they must: |
| 92 | |
| 93 | -Share the same pixel scale and skew |
| 94 | |
| 95 | -At least one of any of the four corner of any pixel must fall on on any corner of the grid of the other raster. |
| 96 | |
| 97 | Alignment is not the same concept as georeference. Two raster might be aligned but not have the same georeference. |
| 98 | |
| 99 | To know if two rasters share the same alignment is useful to decide if we must resample one of them before doing another operation (like MapAlgebra on two rasters). |