[GRASS-user] Qgis per Windows: problemi con r.out.gdal

Sto usando il pc di un collega, che ha installato Qgis per Windows. Ci sono dei problemi con l’r.out.gdal lanciato dalla shell msys.

Viene chiesto come parametro type di uscita o Byte o UInt16 (Float32 mi restituisce errore) e il tif generato è illeggibile in altri gis, eccetto Qgis stesso.
Ne sapete qualcosa?

Giova

G. Allegri wrote:

Sto usando il pc di un collega, che ha installato Qgis per Windows. Ci
sono
dei problemi con l'r.out.gdal lanciato dalla shell msys.

Viene chiesto come parametro type di uscita o Byte o UInt16 (Float32 mi
restituisce errore) e il tif generato è illeggibile in altri gis, eccetto
Qgis stesso.
Ne sapete qualcosa?

Giova

Hai scritto alla lista in italiano :slight_smile:

Which QGIS version do you use? That's essential to know.
Which error do you get with Float32?

Note that I have fixed GeoTIFF color tables in r.out.gdal in
6.3.0RCx (which will hopefully reach QGIS 0.9.1 for Windows/Mac).

Markus
--
View this message in context: http://www.nabble.com/Qgis-per-Windows%3A-problemi-con-r.out.gdal-tf4923752.html#a14103145
Sent from the Grass - Users mailing list archive at Nabble.com.

Hi Markus,
the pc I was using has Qgis 0.9.0.26 for Windows.
The raised error is
"ERROR 6: SetColorTable only supported for Byte or UInt16 bads in Tiff format".
I get the same with r.out.gdal from Grass on my Ubuntu.

The resulting tiff appears uncorrect, with lot of blank areas...
This is what I get in coth cases:
http://www.geospatial.it/allegri/img/aspect_out.JPG

If I try with r.out.tiff it alerts me that decimal values will be
rounded to integer values, but the otuput seams correct...

Giovanni

> Sto usando il pc di un collega, che ha installato Qgis per Windows. Ci
> sono
> dei problemi con l'r.out.gdal lanciato dalla shell msys.
>
> Viene chiesto come parametro type di uscita o Byte o UInt16 (Float32 mi
> restituisce errore) e il tif generato è illeggibile in altri gis, eccetto
> Qgis stesso.
> Ne sapete qualcosa?
>
> Giova
>

Hai scritto alla lista in italiano :slight_smile:

Which QGIS version do you use? That's essential to know.
Which error do you get with Float32?

Note that I have fixed GeoTIFF color tables in r.out.gdal in
6.3.0RCx (which will hopefully reach QGIS 0.9.1 for Windows/Mac).

Markus
--
View this message in context: http://www.nabble.com/Qgis-per-Windows%3A-problemi-con-r.out.gdal-tf4923752.html#a14103145
Sent from the Grass - Users mailing list archive at Nabble.com.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

G. Allegri wrote:

Hi Markus,
the pc I was using has Qgis 0.9.0.26 for Windows.
The raised error is
"ERROR 6: SetColorTable only supported for Byte or UInt16 bads in Tiff format".
I get the same with r.out.gdal from Grass on my Ubuntu.

The resulting tiff appears uncorrect, with lot of blank areas...
This is what I get in coth cases:
http://www.geospatial.it/allegri/img/aspect_out.JPG

If I try with r.out.tiff it alerts me that decimal values will be
rounded to integer values, but the otuput seams correct...

You can use the "old", shell script version of r.out.gdal,
in 6.3 available as r.out.gdal.sh. It is slower but
reliable. Most importantly IMHO it's free from the bug
present in the C r.out.gdal version, that it sets NoData
wrong, corrupting the output raster [1].

[1]http://wald.intevation.org/tracker/?func=detail&atid=204&aid=405&group_id=21

Maciek

G. Allegri wrote:

Hi Markus,
the pc I was using has Qgis 0.9.0.26 for Windows.
The raised error is
"ERROR 6: SetColorTable only supported for Byte or UInt16 bads in Tiff
format".
I get the same with r.out.gdal from Grass on my Ubuntu.

As mentioned, I have fixed this recently:
http://www.nabble.com/Re%3A-new-r.out.gdal-fails-to-preserve-8bit-color-p13860630.html

G. Allegri wrote:

The resulting tiff appears uncorrect, with lot of blank areas...
This is what I get in coth cases:
http://www.geospatial.it/allegri/img/aspect_out.JPG

If I try with r.out.tiff it alerts me that decimal values will be
rounded to integer values, but the otuput seams correct...

"Just" get a fresh GRASS 6.3 version (or the upcoming QGIS 0.9.1).

ciao
Markus
--
View this message in context: http://www.nabble.com/Qgis-per-Windows%3A-problemi-con-r.out.gdal-tf4923752.html#a14104820
Sent from the Grass - Users mailing list archive at Nabble.com.

I didn't think it was such a hard task to export a geotiff...
I've tried with the aspect from spearfish, trying to keep the decimal
values (FCELL), but nothing to do...
I'll wait for Grass 6.3 to be packaged.

2007/12/1, Markus Neteler <nseteler@fbk.eu>:

G. Allegri wrote:
>
> Hi Markus,
> the pc I was using has Qgis 0.9.0.26 for Windows.
> The raised error is
> "ERROR 6: SetColorTable only supported for Byte or UInt16 bads in Tiff
> format".
> I get the same with r.out.gdal from Grass on my Ubuntu.
>

As mentioned, I have fixed this recently:
http://www.nabble.com/Re%3A-new-r.out.gdal-fails-to-preserve-8bit-color-p13860630.html

G. Allegri wrote:
>
> The resulting tiff appears uncorrect, with lot of blank areas...
> This is what I get in coth cases:
> http://www.geospatial.it/allegri/img/aspect_out.JPG
>
> If I try with r.out.tiff it alerts me that decimal values will be
> rounded to integer values, but the otuput seams correct...
>

"Just" get a fresh GRASS 6.3 version (or the upcoming QGIS 0.9.1).

ciao
Markus
--
View this message in context: http://www.nabble.com/Qgis-per-Windows%3A-problemi-con-r.out.gdal-tf4923752.html#a14104820
Sent from the Grass - Users mailing list archive at Nabble.com.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user