[GRASS-user] Exporting Raster map with a GRASS colortable

Christian Röttger chris.roettger at uni-muenster.de
Mon Oct 31 06:33:40 EDT 2011


Am 30.10.2011 19:47, schrieb Markus Neteler:
> On Fri, Oct 28, 2011 at 1:10 PM, Helena Herrera
> <helenaherrera1980 at gmail.com>  wrote:
>> Greetings
>> I just want to confirm this: Is it possible to export a GRASS raster map to
>> Geotiff format and maintain its color table (e.g. NDVI)?
>
>
> Geotiff does not support floating point color tables [1]. You either
> need to rescale the map to integer (multiply by 100 or so) or
> use a different format.
>
> Markus
>
> [1] Usually you get then this GDAL error message:
>        "ERROR 6: SetColorInterpretation() not supported for this dataset.

Hi,

i just asked me the same question.
Which is the best way to export a NDVI from GRASS (to GeoServer) ?
Which format is best? Is it better to keep the colour table or can 
somebody provide a way to export and share the related .sld file?

Thanks
Christian

-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : smime.p7s
Dateityp    : application/pkcs7-signature
Dateigr??e  : 6040 bytes
Beschreibung: S/MIME Cryptographic Signature
URL         : http://lists.osgeo.org/pipermail/grass-user/attachments/20111031/ad685ca7/smime-0001.bin


More information about the grass-user mailing list