[GRASS-user] problem with export of raster data

Markus Neteler neteler at osgeo.org
Mon Feb 23 15:27:41 EST 2009


On Mon, Feb 23, 2009 at 12:15 PM, FAROUX STEPHANIE
<stephanie.faroux at meteo.fr> wrote:
> Hello
> I try to export a raster integer map whose values range from -9999 to
> 5880712. How can i specify that i want integer 4 bytes and not integer 2
> bytes (it makes integer 2 bytes)??

If you export with r.out.gdal you can choose among

      type   File type
              options: Byte,Int16,UInt16,Int32,UInt32,Float32,Float64,CInt16,
                       CInt32,CFloat32,CFloat64

This is the range which GRASS support for export to GDAL
supported formats (of course it depends if the format is compatible
with the selected type, see GDAL manual pages for details).

Markus


More information about the grass-user mailing list