[GRASS-user] Re: Calculating mode value for each polygon

2010-10-18 Thread Luisa Peña
well I don't know if I'm going to say something foolish but, how about r.mode? is it applicable? >From the description is not very clear ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: Calculating mode value for each polygon

2010-10-18 Thread Micha Silver
On 18/10/2010 15:23, Luisa Peña wrote: well I don't know if I'm going to say something foolish but, how about r.mode? is it applicable? From the description is not very clear Bingo! The vector polygon map should be converted to raster and t

Re: [GRASS-user] Re: Calculating mode value for each polygon

2010-10-18 Thread Sylvain Maillard
hello, something strange, i was quite sure to have send a response but it seems something goes wrong ... I wrote a little script that use r.mode: - convert the vector with polygon to raster - loop for each polygon - get the mode and update the specified column in the vector file it process only

Re: [GRASS-user] Re: Calculating mode value for each polygon

2010-10-18 Thread Micha Silver
On 18/10/2010 16:07, Sylvain Maillard wrote: hello, something strange, i was quite sure to have send a response but it seems something goes wrong ... I wrote a little script that use r.mode: - convert the vector with polygon to raster