RasterFunction template sample