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 named "gruppo" and insert in it the three raster I like to have for the three bands. After I execute this command: r.out.gdal -f --overwrite input=gruppo output=D:\temp\hpf_out_rescale2.tif format=GTiff type=Byte createopt=INTERLEAVE=PIXEL,TFW=YES,PROFILE=BASELINE,COMPRESS=DEFLATE This is the results log: WARNING: Perdita di precisione: mappa raster <LC81920292015157LGN00_reflect2.hpf> di tipo DCELL da esportare come Byte. Può essere evitata usando Float64. WARNING: Perdita di precisione: mappa raster <LC81920292015157LGN00_reflect3.hpf> di tipo DCELL da esportare come Byte. Può essere evitata usando Float64. WARNING: Perdita di precisione: mappa raster <LC81920292015157LGN00_reflect4.hpf> di tipo DCELL da esportare come Byte. Può essere evitata usando Float64. WARNING: Si sta forzando l'esportazione del raster. Checking GDAL data type and nodata value... Using GDAL data type <Byte> La mappa raster di input contiene celle con valore NULL (nessun dato). Il valore 255 verrà usato per rappresentare i valori delle celle senza dati nella mappa di input. È possibile specificare un valore per le celle senza dati con l'opzione nodata. Using GDAL data type <Byte> La mappa raster di input contiene celle con valore NULL (nessun dato). Il valore 255 verrà usato per rappresentare i valori delle celle senza dati nella mappa di input. È possibile specificare un valore per le celle senza dati con l'opzione nodata. ERROR 6: SetColorTable() not supported for multi-sample TIFF files. Using GDAL data type <Byte> La mappa raster di input contiene celle con valore NULL (nessun dato). Il valore 255 verrà usato per rappresentare i valori delle celle senza dati nella mappa di input. È possibile specificare un valore per le celle senza dati con l'opzione nodata. Exporting raster data to GTiff format... ERROR 6: SetColorTable() can only be called on band 1. ERROR 6: SetColorTable() can only be called on band 1. r.out.gdal completo. File <D:\temp\hpf_out_rescale2.tif> created. Thx, A. 2015-07-02 12:56 GMT+02:00 Markus Neteler <[email protected]>: > Hi, > > On Jul 2, 2015 11:58 AM, "Andrea Peri" <[email protected]> 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-esri-software: > > Best > Markus -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
