[GRASS-user] integration of sample.c algorithms into r.resample
Glynn Clements
glynn at gclements.plus.com
Wed Aug 16 20:28:26 EDT 2006
Dylan Beaudette wrote:
> I have summarized three test cases here:
> http://169.237.35.250/~dylan/temp/raster_sampling/
>
> 1. input raster extent > current region, resampling from 30m to 10m [ok]
> 2. input raster extent < current region, resampling from 30m to 10m [not ok]
> 3. input raster extent == current region, resampling from 30m to 10m [ok]
>
> Note that for example 2, the summary from r.info suggests that there is
> something wrong with indexing / overflowing :
> !!!
> min = -0.000000 max = 1356171748364289065433195553253
>
>
> possibly something to do with dealing with NULL values, and extending the
> region???
Yes. I was only considering the bounds of the source map. I've updated
it to set the source region to cover the destination region, plus
neighbours.
I've attached an updated version.
--
Glynn Clements <glynn at gclements.plus.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c.gz
Type: application/octet-stream
Size: 2095 bytes
Desc: Updated interpolation module
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20060817/b9661f1c/main.c.obj
More information about the grass-user
mailing list