[GRASS-dev] Programmatically obtain GRASS colour ramps in Python
Pierre Roudier
pierre.roudier at gmail.com
Sun Sep 16 19:17:04 PDT 2018
Hi all,
I am trying to write a little Python extension wrapping r.color to use
different kind of strecthes,
It should be pretty simple, basically just builkding rules on-the-fly
and pass them to r.color. But I can't quite seem how to retrieve the
GRASS color ramps details to create my ruleset.
Is there any portable way to actually to actually passthe name of a
GRASS color ramp, and get the details (colours) of that colour ramp?
Cheers,
Pierre
More information about the grass-dev
mailing list