Re: [GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-23 Thread Colin Nielsen
In the idea of replacing r.cost by r.terracost, I would think that the latter would first have to implement the options in r.cost, e.g. - equivalents of the start_points and coordinates options of r.cost - stop_points/coordinates - max_cost - the knight's move - ... If r.terracost is

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-16 Thread Laura Toma
This may be because you don't have rights to /var/tmp, or maybe the directory /var/tmp/mlenert does not exist. To change this location, you do not need to change main.cc. Instead use option VTMPDIR Location of intermediate STREAMs default: /var/tmp/username I

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-15 Thread Moritz Lennert
Hello Laura, On 15/07/09 00:01, Laura Toma wrote: Hi Markus, Moritz, I could reproduce the problem. It was happening because the cost of the source points were incorrectly assigned to be zero, instead of the actual cost of the points. Because of this, the immediate neighbors of the source

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-15 Thread Laura Toma
Hi Moritz, Terracost runs in two modes: in memory (when numtiles=1), and in external memory, using streams (when numtiles1). When run without a value for numtiles, it sets numtiles to the optimal value. In all your tests numtiles was set to 1. The algorithms in the 2 cases are

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-15 Thread Moritz Lennert
On 15/07/09 15:40, Laura Toma wrote: Hi Moritz, Terracost runs in two modes: in memory (when numtiles=1), and in external memory, using streams (when numtiles1). When run without a value for numtiles, it sets numtiles to the optimal value. In all your tests numtiles was set to 1. The