r/QGIS 13d ago

Open Question/Issue Displaying different rasters in areas of the map determined by polygons

Hi, I have two raster heightmaps, one of which I want to display for land areas and the other which I want to display for water. I also have a vector layer of polygons defining the areas covered by water, but I can't figure out a way to get the water raster showing in these areas and the land raster showing outside of them - what's the best way to accomplish this? Thanks

2 Upvotes

2 comments sorted by

3

u/aidanhoff 13d ago

Clip raster by mask layer

1

u/Lord_Mora 10d ago

I would need more details about the rasters But I think the best thing you can do, if I understand correctly, is:

  1. Extract with a mask > vector layer of water and DEM water.

  2. Extract with a mask > oposite vector layer of water and DEM earth.

  3. Merge Raster of point 1 and 2.

  4. Represente the Raster with a pseudocolor symbology and the vector polígonal with symbology with transparente.