<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 17, 2015 at 4:34 PM, Margherita Di Leo <span dir="ltr"><<a href="mailto:diregola@gmail.com" target="_blank">diregola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Nikos!<div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Apr 17, 2015 at 10:22 PM, Nikos Alexandris <span dir="ltr"><<a href="mailto:nik@nikosalexandris.net" target="_blank">nik@nikosalexandris.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Margherita Di Leo:<br>
<span><br>
> Hi,<br>
><br>
> I need to count the number of points that falls within a set of polygons,<br>
> and add this number as a column in the table associated with the<br>
> polygon.How can I do that?<br>
<br>
</span>Madi,<br>
<br>
that was a somewhat cumbersome task in the past. Not anymore though,<br>
please see: <<a href="http://grass.osgeo.org/grass70/manuals/v.vect.stats.html" target="_blank">http://grass.osgeo.org/grass70/manuals/v.vect.stats.html</a>>.<br></blockquote><div><br></div></span><div>Thank you very much! I have been looking here <a href="http://grass.osgeo.org/grass71/manuals/vectorintro.html" target="_blank">http://grass.osgeo.org/grass71/manuals/vectorintro.html</a> and <a href="http://grass.osgeo.org/grass71/manuals/topic_statistics.html" target="_blank">http://grass.osgeo.org/grass71/manuals/topic_statistics.html</a> and in the wiki but could find no reference. I'm adding a FAQ in the wiki and keywords in the documentation pages.</div><div><br></div></div></div></div></blockquote><div>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).<br><br></div><div>BTW, the hard way would be to do it through export to xyz/csv, import using binning and raster-vector statistics. <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Thanks again!</div><div>madi</div></div><span class=""><div><br></div><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div><font color="#666666">Best regards,</font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Dr. Margherita DI LEO    </font></div><div><span style="color:rgb(102,102,102);font-family:arial;font-size:small">Scientific / technical project officer</span><br></div><div><font color="#666666"><br></font></div><div><font color="#666666">European Commission - DG JRC </font></div><div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div><div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div><div><font color="#666666">       </font></div><div><font color="#666666">Tel. +39 0332 78 3600   </font></div><div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div><div><font color="#666666"><br></font></div><div><font color="#666666">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.</font></div></div></div>
</span></div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div>