I would like to extract lakes and sea from a DEM (SRTM) and save them as a separate layer.
Is this possible?
I have tried to extract flat areas with the Raster Calculator, but that did not work.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
You need to extract the slope first from the DEM using the
Raster -> Terrain Analysis -> Slope OR
Raster -> Analysis -> DEM (Terrain Models). Then use the slope raster to extract the lakes or sea where the
slope = 0
Raster Calculator, it will be like this:
"Slope@1" = 0
"Slope@1" is the raster name. So The general form is
"RasterName@1" = 0
Here is the input:
Here is the output after applying the above expression:
The green color is the lakes extracted from the slope raster.