[GRASS-user] exporting maps via gdal

Markus Neteler neteler at itc.it
Mon Jul 17 10:24:12 EDT 2006


Jachym Cepicky wrote on 07/17/2006 03:43 PM:
> Hi,
> trying to export some floating point map (result of interpolation) to
> geotiff via gdal:
>
>     r.out.gdal in=ca2005 out=ca2005.tif type=Float32
>
> result is, that the map is displayed as "black" e.g. in qgis and
> mapserver is not able to display anything :-(
>   
Jachym,

you could try to export to ERDAS/IMG format (format=HFA).
Maybe then the color tables is preserved.

Markus
> how to export floating point maps, so they can be read later by other programs
> (which are using gdal too)?
>
> when I import the map back
>
>     r.in.gdal in=ca2005.tif out=pokus, everything seems to be allright
>     :-(
>
> Jachym
>   




More information about the grass-user mailing list