[GRASS-user] problem in r.out.gdal for idrisi

Martin Landa landa.martin at gmail.com
Thu Jan 10 07:54:24 EST 2008


2008/1/10, temiz <temiz at deprem.gov.tr>:

> 1. ~~~~~~~~~~~~~~
>   gdalinfo --formats | grep RST
>   RST (rw+): Idrisi Raster A.1
>
> 2.~~~~~~~~~~~~~~~
> GRASS 6.2.1 (bartin):~ > r.out.gdal input=asp1_cat at orkun format=RST
> output=/usr/local/loc0/mercan/asp_idrisi
>
> Error: value <RST> out of range for parameter <format>
>        Legal range:
> AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM
>
> Description:
>  Exports GRASS raster data into various formats (requires GDAL)
>
> Keywords:
>  raster, export
>
> Usage:
>  r.out.gdal [-l] [input=string] [format=string] [type=string]
>    [output=string] [createopt=string[,string,...]]
>    [metaopt=string[,string,...]]
>
> Flags:
>   -l   list supported output formats
>
> Parameters:
>       input   Name of input raster map
>      format   GIS format to write (case sensitive, see also -l flag)
>               options:
> AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,
>                        MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM
>               default: GTiff
>        type   file type
>               options:
> Byte,Int16,UInt16,UInt32,Int32,Float32,Float64,CInt16,
>                        CInt32,CFloat32,CFloat64
>      output   Name of output file
>   createopt   creation option to the output format driver. Multiple
> options may be listed
>     metaopt   metadata key passed on the output dataset if possible
>
>
> Do I need to recompile the grass ?

no, just use C version of r.out.gdal from grass63, or edit
scripts/r.out.gdal/r.out.gdal for your installation.

Martin

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-user mailing list