https://github.com/milos-agathon/forest_map_europe
This repo demonstrates how to easily overlay community polygons on forest cover data and make a beautiful map using R and ggplot2
https://github.com/milos-agathon/forest_map_europe
data-science data-visualization ggplot2 gis r satellite-imagery spatial-analysis zonal-statistics
Last synced: 2 months ago
JSON representation
This repo demonstrates how to easily overlay community polygons on forest cover data and make a beautiful map using R and ggplot2
- Host: GitHub
- URL: https://github.com/milos-agathon/forest_map_europe
- Owner: milos-agathon
- Created: 2021-06-06T12:59:18.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-06T13:44:49.000Z (about 5 years ago)
- Last Synced: 2026-03-03T13:12:51.762Z (3 months ago)
- Topics: data-science, data-visualization, ggplot2, gis, r, satellite-imagery, spatial-analysis, zonal-statistics
- Language: R
- Homepage: https://milospopovic.net
- Size: 1.18 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# European map of average weighted values (in %) for the forest fractional cover
This repo demonstrates how to easily overlay community polygons on forest cover data and make a beautiful map using ``R`` and ``ggplot2``.
The R code helps you overlay community spatial polygons over forest cover satellite imagery to compute and map the average percentage of the land area under forest using no more than 200 lines of code.
The data on fractional forest cover from [Global Land Cover](https://lcviewer.vito.be/download) of the Copernicus Monitoring Services. The shapefile of over 122,000 communities in Europe comes from Eurostat's GISCO [repo](https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/communes#communes16). The code overlay this shapefile on the forest cover data using function ``exact_extract`` from library [exactextract](https://github.com/isciences/exactextract) to compute the average value of each forest cover cell that intersects the community polygons, weighted by the percent of the cell that is covered. This will yield the average percentage of the forest cover for a specific community.
