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

temiz temiz at deprem.gov.tr
Thu Jan 10 10:22:05 EST 2008


Martin Landa wrote:
> 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
>
>   
I have also GRASS 6.3.cvs.
But problem still retains

GRASS 6.3.cvs (bartin):~ > r.out.gdal  input=asp1_cat at orkun format=RST 
type=Int16 output=/usr/local/loc0/mercan/asp_idrisiERROR 4: 
`/usr/local/loc0/mercan/asp_idrisi' not recognised as a supported file 
format.

ERROR: Cannot create [/usr/local/loc0/mercan/asp_idrisi] dataset using
       [RST] driver.
[Raster MASK present]


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grass-user mailing list