Refactor raster code
|Category:||-||Estimated time:||8.00 hours|
|Target version:||-||Spent time:||-|
Close inspection of the THaRaster class reveals pretty unhappy confused convoluted thinking. We should rewrite this to make it much easier to understand for users.