On Fri, Apr 17, 2015 at 4:34 PM, Margherita Di Leo <[email protected]> wrote:
> Hey Nikos! > > On Fri, Apr 17, 2015 at 10:22 PM, Nikos Alexandris < > [email protected]> wrote: > >> Margherita Di Leo: >> >> > Hi, >> > >> > I need to count the number of points that falls within a set of >> polygons, >> > and add this number as a column in the table associated with the >> > polygon.How can I do that? >> >> Madi, >> >> that was a somewhat cumbersome task in the past. Not anymore though, >> please see: <http://grass.osgeo.org/grass70/manuals/v.vect.stats.html>. >> > > Thank you very much! I have been looking here > http://grass.osgeo.org/grass71/manuals/vectorintro.html and > http://grass.osgeo.org/grass71/manuals/topic_statistics.html and in the > wiki but could find no reference. I'm adding a FAQ in the wiki and keywords > in the documentation pages. > > Very good. Additionally, v.vect.stats is really awesome because it creates the columns for the data automatically (other modules usually requires you to create it beforehand). BTW, the hard way would be to do it through export to xyz/csv, import using binning and raster-vector statistics. Thanks again! > madi > > > > -- > Best regards, > > Dr. Margherita DI LEO > Scientific / technical project officer > > European Commission - DG JRC > Institute for Environment and Sustainability (IES) > Via Fermi, 2749 > I-21027 Ispra (VA) - Italy - TP 261 > > Tel. +39 0332 78 3600 > [email protected] > > Disclaimer: The views expressed are purely those of the writer and may not > in any circumstance be regarded as stating an official position of the > European Commission. > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
