Let's say I have a DTM and two vector shapefiles with zone A and zone B polygons. I want to add 10m to every point in the raster within zone A and I want to subtract 5m for every point in zone B.
Is there a more elegant way to do this than rasterising the shapefile?
i.e. I want something like
if in A: = DTM + 10
if in B: = DTM - 5
else: = DTM
I have used a workaround by rasterising the shapefile but it would be nice if there was a more direct way to do this.