[GRASS-dev] [GRASS GIS] #1798: all relevant vector modules should have cats and where parameters

Markus Metz markus.metz.giswork at gmail.com
Sun Nov 18 08:20:25 PST 2012


On Thu, Nov 15, 2012 at 6:00 PM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 15/11/12 14:08, Newcomb, Doug wrote:
>>
>> I guess the question is, if you then performed v.rast.stats for an
>> underlying raster using the overlapping buffers generated with -t , how
>> would the statistics for the overlapped polygons work?  Think 2 1km
>> circles whose centers are .75km apart.
>
>
> The -t flag (thanks for that, btw !) allows to not fusion the buffers, but
> it still respects topology, i.e. no overlaps allowed in polygons. The parts
> where buffers overlap are separate polygons from the rest of the buffer, and
> they have more than one category (similar to the result of importing a
> shapefile with overlapping polygons).

The problem is that v.rast.stats does not support areas with multiple
categories in the same layer, because v.to.rast does not support that.
In this case, buffers should be created for each feature separately
using the cats or where options.

Markus M


More information about the grass-dev mailing list