Monday, 26 September 2016

QGIS - extract raster values greater than 0


How can I extract values > 0 from an overall raster?


I have a water level grid and a DTM from which I've derived flood depths (using the raster calculator) but obviously the final result contains negative values where there is no flooding.


I want to remove these values (or set them to null) just leaving the positive flood depths.


Many thanks



Answer



You can use the Raster Calculator for this, see "Using a Mask" here


No comments:

Post a Comment