0

What is the correct color map format (.txt) for a color map I want to load in the Raster Layer Properties/Symbology menu of QGIS (v. 3.6.0)

  • 1
    If you could expand on what you want to achieve, what you tried so far and where you are stuck, that would be great. Currently I got no real idea, what you are asking. – Erik May 7 at 12:03
  • Look at the answer that was posted yesterday – Heiner May 8 at 13:05
0

It looks like this:

# QGIS Generated Color Map Export File
INTERPOLATION:INTERPOLATED
427.153,68,1,84,255,427.2
2092.85,253,231,37,255,2093
  1. Line is something like a Headline. I guess you can type almost everything there... (not 100% sure tho)
  2. Line is the interpolation Method you want to use. e.g. INTERPOLATED means Linear and DISCRETE means Discrete.
  3. Line is your first (lowest) class. In this example 427.153 is the minimum value, 68 is Red value, 1 is Green value, 84 is Blue value, 255 is Alpha value, 427.2 is the label.
  4. Line is your second class
  5. Line your third class

and so on... Tip: just try it out by saving it to a text file and watch the differences.

  • Thanks a lot - that is exactly what I was looking for. – Heiner May 8 at 13:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.