[GRASS-dev] [bug #5043] (grass) r.out.gdal does not export "g.region -p"

Paul Kelly paul-grass at stjohnspoint.co.uk
Thu Aug 24 11:41:22 EDT 2006



On Thu, 24 Aug 2006, Markus Neteler wrote:

> On Thu, Aug 24, 2006 at 02:11:12PM +0200, Request Tracker wrote:
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=5043
>> -------------------------------------------------------------------------
>>
>> Subject: r.out.gdal does not export "g.region -p"
>>
>> Platform: GNU/Linux/x86
>> grass obtained from: Other (CDROM etc)
>> grass binary for platform: Downloaded precompiled Binaries
>> GRASS Version: GRASS 6.0.2 (2006)
>>
>>
>> r.out.gdal does export the region as defined in "g.region -p", but the full input raster file.
>
> I just found that it is pretty easy to support at least
> the current region extent:

This would seem like a good example of why Glynn insisted on retaining 
r.resample. r.resample to a temporary file and export that would achieve 
the desired effect (i.e. consistent with other raster export modules) I 
think? Although would require twice as much disk space. I agree it should 
be made consistent (i.e. export based on the current region settings).

Paul




More information about the grass-dev mailing list