[GRASS-user] r.out.gdal

Maciej Sieczka tutey at o2.pl
Wed Feb 14 15:03:32 EST 2007


Raffaele Morelli wrote:
> Hi all,
> 
> I am exporting a 20m resolution raster to a GeoTiff using r.out.gdal. The
> raster (a DEM) covers Italy so I will get (at least I guess to) a very
> large
> file.
> Export is currently at 20% and the file aorund 1GB.
> 
> Now, how can I pass (can I at all?) the '-outsize' parameter to
> r.out.gdalto force a lower outsize for my GTiff?

You can't. But you can compress the r.out.gdal output providing a
createopt=string[,string,...] option.

See manual and the options available for paticular formats at
http://www.gdal.org/formats_list.html.

> Or I need a resampling?

r.resamp.stats propably is propapbly the way to go

Maciek




More information about the grass-user mailing list