天天看點

ArcGIS--如何計算落在每個多邊形内的點的數量?

原來考慮的是Spatial Join,後來發現不用那麼複雜的辦法。

以随機點和漁網為例,如下圖所示即可實作需求:

漁網資料集右擊,Join and Relates→Join,按下圖操作即可。

<a href="http://blog.51cto.com/attachment/201312/183414482.png" target="_blank"></a>

在結果資料集Join_Output的屬性表中,落在每個多邊形内點的數目一目了然。根據上圖可知,我們還可以統計落在多邊形内的點的其他值,如極值、平均數、标準差等。

<a href="http://blog.51cto.com/attachment/201312/183938439.png" target="_blank"></a>

PS: 在QGIS(入門最快,最好用的開源桌面GIS)中,提供了一個名為“Count points in polygon”的工具(類似于ArcGIS 中的ToolBOx工具),利用此工具可實作如上所屬的目标。

<a href="http://blog.51cto.com/attachment/201312/190713997.png" target="_blank"></a>

本文轉自 huohe2009 51CTO部落格,原文連結:http://blog.51cto.com/zhaojie/1336651

繼續閱讀