inbo / riparias-prep

Preparatory scripts and data management for the RIPARIAS workflow
MIT License
0 stars 1 forks source link

Improve layers for RBSU and RBU for Riparias dashboard #58

Closed jrhillae closed 8 months ago

jrhillae commented 1 year ago

Currently, layer for RBU and RBSU do not overlap well. Apparently, RBU layer is at a lower resolution than the RBSU layer. This results in contradictory results when observations are intersected with these layers.

@jrhillae: check if layers in shared Riparias GIS folder are more appropriate to use.

(@SanderDevisscher : ter info)

image

green line: RBU, black line: RBSU

jrhillae commented 1 year ago

https://drive.google.com/drive/folders/1OnjoMvOECsokz299VccE85iqKxRpqYhc

jrhillae commented 1 year ago

@SanderDevisscher : I created a new layer at river basin level (RBU) based on the layer at river basin subunit level (RBSU) due to the issue described above. You can find the script that I used here and the final layer here. Within the script, there are very minor holes within each RBU after creating the layer. However, when I export the layer as geojson these holes disappear again. Everything might be ok, but it would be handy if you check the script to be sure. Thank you for reviewing this :)

SanderDevisscher commented 1 year ago

PR?

jrhillae commented 1 year ago

Niet als deel van PR want ik heb al heel veel gewijzigd op deze branch en moet nog veel veranderen. Liefst enkel het script waar ik naar verwijs hierboven. Nadat ik klaar ben met deze ronde van aanpassingen zal ik alles in 1 keer als PR indienen.

SanderDevisscher commented 1 year ago

Ok zal er sebiet eens naar kijken, nog ff iets afwerken

SanderDevisscher commented 1 year ago

@jrhillae je script ziet er goed uit en lijkt te doen wat je wilt. Weliswaar als je de libraries rgdal en dplyr inleest.
Je kan rgdal eventueel omzeilen door het EPSG nummer (wgs84 = 4326) te gebruiken ipv de CRS string.