[GRASS-user] least cost path between patches

2011-02-27 Thread Tristan Nunez
Hi Patrick, If I understand the question, I haven't done this in GRASS, but one cumbersome approach without using a function like r.drain to find a cost distance *corridor* between two patches is to calculate a separate cost distance surface for every individual patch, from (and only from) that

[GRASS-user] Module to calculate percentile within a moving window?

2011-02-19 Thread Tristan Nunez
Dear GRASS users, I'm a new GRASS user, and need to calculate the percentile rank of a cell within a moving window. Specifically, from a raster of wildlife habitat quality (ranked from 1 to 100) at 100m resolution, I would like to find the percentile rank of each focal cell relative to all of its