node-gdal icon indicating copy to clipboard operation
node-gdal copied to clipboard

Support for getting the color table

Open danielbarela opened this issue 8 years ago • 0 comments

I was wondering if there was any plans to support getting the color table from a raster band. I can figure out that the band is a Palette band but I have no way to get the color table. Currently I am just making a call out to the regular gdal_translate with the expand option to change the geotiff into one with three bands and then reading that file back in with node-gdal. An example of a file with a color table is: http://data.fs.usda.gov/geodata/rastergateway/data/37105/fstopo/375210530_Crestone_Peak_FSTopo.tif

As an aside, this project is great and thank you for all your hard work.

danielbarela avatar Jul 21 '15 14:07 danielbarela