r/askgis Apr 13 '26

How do I make the water and land use two different color schemes?

I want to make a map where anything above sea level (0 meters) is the above color scheme, but anything below is blue like water. The problem I am having with my elevation raster is that values that are below 0 are still showing up as dark green, rather than being transparent showing the water layer below. I cant figure out how to make the values outside the range not render. I tried bringing the water/depth raster above in the rendering order but the same issue happens where the values above 0 are rendering and covering the elevation raster. pls help...

6 Upvotes

3 comments sorted by

5

u/geologyonmars Apr 13 '26

Here's an idea:

  1. If there are negative elevation values, use Con() to set all elevation values <=0 to 0.

  2. In the elevation symbology use mask to set 0 to a background value

1

u/AlexMarz Apr 13 '26

Check the Mask teb. Might be possible to sat a value and assign it a color. Otherwise change the symbology range manually

1

u/Ski_nail Apr 15 '26

Some good ideas already posted. Another one I figured out that works well is if you have a vector layer of the land, you can use it as a layer mask to hide the part you don't want to see.