Hello,
I am developing a app that needs to show a colormap based on a known elevation value. For example I have a tiff with elevation data. I want the area that is within 125ft of a my known point to be a solid blue color, the area 125-330ft a yellow color and everything else black. The elevation data/tif is using SRTM data for now so I know I will need to convert the feet to meters.
I have looked at the ColorRamp example and I am unclear what these values represent.
Is this example the right starting point for something like this? Thanks.
// Create a color map where values 0-149 are red and 150-249 are yellow.
IEnumerable<Color> colors = new int[250]
.Select((c, i) => i < 150 ? Color.Red : Color.Yellow);