[R-sig-Geo] gdal color tables

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Sun Dec 23 13:42:25 CET 2012


On Sun, Dec 23, 2012 at 11:56 AM, Agustin Lobo <alobolistas at gmail.com> wrote:
> Is there a function that would write R color tables as gdal color
> tables such as the one described in
> http://www.gdal.org/rgb2pct.html
> ?

 I'm not sure what you mean by an "R color table" - just a vector of colours?

 For output do you mean the XML snippet at the bottom of that page?
All of it, or just the <colortable> part?

 Two minute job to do, twenty minute job to do properly...

Barry



More information about the R-sig-Geo mailing list