- Hands-On Geospatial Analysis with R and QGIS
- Shammunul Islam
- 65字
- 2021-06-10 18:44:28
Adding point data on polygon data
Now, we will plot point data on polygon data. For doing so, we will first plot SpatialPolygonsDataFrame (containing polygons) and then will add SpatialPointsDataFrame (containing points) using points(). We do so in the following way:
# Adding point data on polygon data
plot(map_bd)
points(bd_val, pch=19, col="blue")
This gives us the following map where points are overlaid on the polygon:
推薦閱讀
- Microsoft Dynamics CRM Customization Essentials
- 大數據導論:思維、技術與應用
- 玩轉智能機器人程小奔
- Hands-On Artificial Intelligence on Amazon Web Services
- Managing Mission:Critical Domains and DNS
- 自主研拋機器人技術
- 計算機網絡技術基礎
- Visual C++編程全能詞典
- 數據庫系統原理及應用教程(第5版)
- Troubleshooting OpenVPN
- 影視后期編輯與合成
- Dreamweaver CS6精彩網頁制作與網站建設
- 精通數據科學:從線性回歸到深度學習
- R Machine Learning Projects
- 數據要素:全球經濟社會發展的新動力