biodiversitydata-se / SBDI4R

R package to search and access data made available through the Swedish biodiversity data infrastructure SBDI
https://biodiversitydata-se.github.io/SBDI4R/
GNU Affero General Public License v3.0
1 stars 2 forks source link

Grid-based data aggregation and map views #7

Closed DeboraArlt closed 3 years ago

DeboraArlt commented 4 years ago

We want to provide functionality to sort observations into grid cells (a) and aggregate observations for spatial grids (assign observations to grid cells, ble to retrieve as output a table with all occurrences and column for associated grid cell, and aggregated results: no. observations and/or no. species per cell), and provide grid-based species observation maps. Points can be assigned to grid cells using the points-to-grid tool (in the Spatial Portal), but tool only provides result as table, no map view. We can either provide a set of grid sizes to choose from (see below for layers provided) and/or let users define gridcell size.

DeboraArlt commented 4 years ago

more details here: issue_GridFunctionality.docx

DeboraArlt commented 4 years ago

grid layer files for Sweden can be found here: https://github.com/orgs/bioatlas/projects/3 format: GeoJSON, Shape coordinate system: SWEREF99TM, WGS84 scales: 1, 5, 10, 25, and 50 km

aleruete commented 4 years ago

sp::over() for point in polygon analysis or https://rdrr.io/cran/spatialEco/man/point.in.poly.html