Let's say you have a raster clipped to a certain shape by a polygon. Now you want the raster border contour / border pixels to have a constant value. How can that be done? I suppose there is a simple way to give a constant value for raster cells that a certain polyline or polygon intersects?