Hi @jespergrandin, thanks for your question!
If I understand correctly, you're looking to output a raster that highlights pixels with a slope greater than 5% AND an elevation greater than 5 m. This can be done by creating two separate rasters - one holding the elevation data, the other holding the slope data. Then combine the two rasters into one raster with two bands using the RasterBandCombiner. Finally, a conditional statement with your two conditions can be constructed in the RasterExpressionEvaluator to output a single band raster with your desired pixels.
I've constructed a sample workspace using Vancouver DEM data to get you started (see below). You should find all the steps there, although you'll need to tweak the parameters to fit your data.
rastercon.fmwt
Hope this helps!
Nathan
Hi @jespergrandin, thanks for your question!
If I understand correctly, you're looking to output a raster that highlights pixels with a slope greater than 5% AND an elevation greater than 5 m. This can be done by creating two separate rasters - one holding the elevation data, the other holding the slope data. Then combine the two rasters into one raster with two bands using the RasterBandCombiner. Finally, a conditional statement with your two conditions can be constructed in the RasterExpressionEvaluator to output a single band raster with your desired pixels.
I've constructed a sample workspace using Vancouver DEM data to get you started (see below). You should find all the steps there, although you'll need to tweak the parameters to fit your data.
rastercon.fmwt
Hope this helps!
Nathan
Hi @NathanAtSafe, thanks helping out!
I have updated the question, since I need the total height of an entire slope, say, a hill face.
Disclaimer - I have not viewed your model yet since I'm not at work.
Hi @jespergrandin , I realise this question was posted nearly 3 years ago, but I am curious to know if you figured out a way to do this. We are trying to do something similar: we want to find areas with slope of at least 3:1 (33% grade) where the total distance from start of slope to top is at least 10m.
Thanks!
Stephanie