inbo / mica-dashboard

🐀 A web-based dashboard for the MICA project
https://mica.inbo.be
MIT License
2 stars 0 forks source link

Show either catches or catch per km waterway #42

Closed EmmaCartuyvels1 closed 1 year ago

EmmaCartuyvels1 commented 2 years ago

I was going through the project proposal and noticed that this is also one of the requirements for the dashboard. I would show this as number of catches per km waterway for each km²

niconoe commented 2 years ago

Hi @EmmaCartuyvels1:

If I understand correctly, that would be a different map that shows 1x1km cells over Belgium. For each cell, we would show the number of catches divided by the length of waterways, is that correct?

Please note that I'll need source some GIS data (shapefile) for those waterways, preferably in Open Data. I found the following shapefiles https://www.atlas-belgique.be/index.php/en/resources/map-data/ from KUL/Belpo/ULiège. Do you think the "waterway" file is good for our use?

peterdesmet commented 1 year ago

Needed:

niconoe commented 1 year ago

Hi @EmmaCartuyvels1, I've started some work with the "waterways" file from atlas-belgique.be so I can already make progress! Here is a screenshot showing its content, as far as I understand it only contains navigable bodies of water, which might not been enough for MICA:

image

Can you have a look and confirm if we need to find another source of data or not?

EmmaCartuyvels1 commented 1 year ago

Hi Nicolas, we will need to work with a layer that includes all waterways and water bodies so this won't be enough

niconoe commented 1 year ago

Thanks Emma! Indeed, I think we'll have several data issues that we need to solve soon:

Those links might be of interest:

niconoe commented 1 year ago

@EmmaCartuyvels1: I've experimented with the data found at http://hydro.iis.u-tokyo.ac.jp/~yamadai/OSM_water/index.html and I think it might actually be used to assign a "water coverage score" to each 1km square:

image

(the water data is representend by highlighted "pixels", the red grid is the 1km fishnet and the background is standard openstreetmap for reference)

We could count the number/surface of pixels in each red square, and we'd have a decent approximation of how much inland water occupies it, no?

niconoe commented 1 year ago

@peterdesmet: if you have some time :sweat_smile: , don't hesitate to give your input on that (those last two comments might be enough to grasp the situation)

peterdesmet commented 1 year ago

@niconoe to me http://hydro.iis.u-tokyo.ac.jp/~yamadai/OSM_water/index.html looks like an excellent source:

OSM Water Layers is a global surface water data, generated by extracting surface water features from OpenStreetMap.

Question

EmmaCartuyvels1 commented 1 year ago

I've asked for some more details on the Dutch way of calculating this, since I do think they work with the length of the waterways. I'll update once I hear back from them.

niconoe commented 1 year ago

@peterdesmet:

Thanks for the feedback. Answers below:

About the data source, I think we have 3 possible routes now:

On my side, I think I'll focus more on the development side of the feature (make the dashboard able to show the squares and their score), and go back to the data question later, when things get a bit clearer.

EmmaCartuyvels1 commented 1 year ago

Hi Nico,

This was the answer from Dolf: We only look at the bank length to be processed: For ponds and lakes, the perimeter is taken. For watercourses up to 6 meters wide, the single bank length is included (such a watercourse can be worked from one side. For watercourses that are wider than 6 meters, both banks are included.

niconoe commented 1 year ago

Thanks Emma!

Can you provide me data to calculate this? I'd need:

If you can find that it would be immensely helpful. In case we cannot find this data (I am especially unsure about the river width data), I can try a different approach such as what was discussed above. Another approach would be doing it "the Dutch way" but treating all rivers the same (irrespective of their width).

niconoe commented 1 year ago

Update: first implementation visible on https://mica-uat.inbo.be/

niconoe commented 1 year ago

Hi @EmmaCartuyvels1 : do you still have remarks and things to change for this feature? Otherwise I was thinking of closing the issue so get a better view of what is still left to do. Thanks!

EmmaCartuyvels1 commented 1 year ago

This looks good to me!