[GRASS-dev] making r.out.gdal region sensitive

Hamish hamish_nospam at yahoo.com
Thu Oct 19 06:09:13 EDT 2006


Jachym Cepicky wrote:
> > > >> In order for the behaviour of r.out.gdal to be consistent with
> > > >> other r.out.* modules,
> > 
> > just a check re. region bounds & grid vs. pixel conventions, does a
> > full cycle result in the same exact data?
..
> if i understand this well, you are asking for result like this:
>     
> d.zoom
> r.out.gdal -r in=soils type=Byte out=map.ext
> r.in.gdal in=map.ext out=map2 --o
> r.resample in=soils out=soils.resamp --o
> r.mapcalc diff="soils.resamp - map2"

yes

> r.univar diff
> 
> total null and non-null cells: 29382
> total null cells: 0
> 
> Of the non-null cells:
> ----------------------
> n: 29382
> minimum: 0
> maximum: 0
> range: 0
> mean: 0
> mean of absolute values: 0
> standard deviation: 0
> variance: 0
> variation coefficient: nan %
> sum: 0
> 
> i would say, this looks good(?)


I would say this looks very good! Thanks.


Hamish




More information about the grass-dev mailing list