[GRASS-user] r.out.gdal and INTERLEAVE=PIXEL

Markus Metz markus.metz.giswork at googlemail.com
Tue Feb 23 12:11:54 EST 2010


Hamish wrote:
> thedok78 wrote:
>   
>> I need to export some raster data from GRASS to ArcView; as
>> suggested on the wiki [1] I used the option INTERLEAVE=PIXEL with
>> r.out.gdal:
>>
>> r.out.gdal in=elevation.10m format=GTiff type=Float32
>> createopt="INTERLEAVE=PIXEL" out=output.tif
>>
>> The problem is that, using gdalinfo, INTERLEAVE is still
>> set to BAND.
>> Any idea?
>>
>> Using GRASS 6.4.0svn and GDAL 1.7.1
>>     
>
> yes, I can reproduce this: (grass 6.5 + gdal 1.5.2)
>
> #spearfish
> G6.5> r.out.gdal elevation.dem out=elev_pix.tif crea="INTERLEAVE=PIXEL"
> G6.5> gdalinfo elev_pix.tif | grep INTERLEAVE
>   INTERLEAVE=BAND
>   
The INTERLEAVE option has no effect with elevation.10m because this is a 
raster, not a raster group, only one band is exported and there is 
nothing to interleave, this option and the suggestion in the wiki 
applies only to multi-band GeoTIFF.

Markus M



More information about the grass-user mailing list