Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-07 Thread Moritz Lennert
On Fri, 3 Jul 2015 14:06:58 +0200, Andrea Peri wrote: > No, it was not what I expected . > I expected to see the same image I see in the grass display (using d.rgb) > Instead I see someone completelly different. That is expected, and also depends on the program you use to visualise the data. Col

Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-03 Thread Andrea Peri
No, it was not what I expected . I expected to see the same image I see in the grass display (using d.rgb) Instead I see someone completelly different. thx. A. 2015-07-03 13:19 GMT+02:00 Moritz Lennert : > On 02/07/15 16:23, Andrea Peri wrote: >> >> Hi Markus, >> thx for hint. >> >> I tried but

Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-03 Thread Moritz Lennert
On 02/07/15 16:23, Andrea Peri wrote: Hi Markus, thx for hint. I tried but probably I miss something. because have an error: ERROR 6: SetColorTable() not supported for multi-sample TIFF files. ERROR 6: SetColorTable() can only be called on band 1. ERROR 6: SetColorTable() can only be call

Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-02 Thread Andrea Peri
Hi Markus, thx for hint. I tried but probably I miss something. because have an error: >ERROR 6: SetColorTable() not supported for multi-sample TIFF >files. > >ERROR 6: SetColorTable() can only be called on band 1. >ERROR 6: SetColorTable() can only be called on band 1. I defined a group na

Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-02 Thread Markus Neteler
Hi, On Jul 2, 2015 11:58 AM, "Andrea Peri" wrote: > > Hi, > I'm try-ing to export a raster RGB using this command: If you have the three RGB channels, you can export via a group: http://grass.osgeo.org/grass70/manuals/r.out.gdal.html#export-r,g,b-imagery-bands-in-geotiff-format-suitable-for-esr

[GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-02 Thread Andrea Peri
Hi, I'm try-ing to export a raster RGB using this command: r.out.gdal -c input=input_image@PERMANENT output=/path-to-raster//output_image.tif format="GTiff" type="Byte" createopt="INTERLEAVE=PIXEL,TFW=YES,PROFILE=BASELINE,COMPRESS=DEFLATE" It produce successfully a tiff , but it is a paletted tif