riparias/gbif-alert

Filter the observations per province or per region

Closed this issue ยท 9 comments

Feedback received by email:

To further improve the alert website, it would be nice to be able to filter the observations per province or per region (Flanders/Wallonia/Brussels) in the table. This would improve the usability for the managers because the responsible agency is different in these regions. In addition, it would be nice to be able to click on the map and receive the data of the observation immediately. It is otherwise just guessing on the map which species was observed there. I have no idea how easy these suggestions are to implement, so hopefully these are useful.

If I understand correctly, the Area filter already allows selcting regions, and adding provinces there wouldn't technically be a problem at all (just load a province shapefile in the system and we should be good).

The reporter confirmed that I missed the "Region" option, and that an additional "provinces" one is not necessary in his opinion.

Feedback received by email on Jul 27, 3:16PM:

Volgt er een mogelijkheid om per provincie de alerts te selecteren?

I think adding provinces polygons can still be an added value (people working in provicincial organizations) and technically shouldn't be complicated, as @niconoe mentioned above in #176 (comment).

This is now implemented (I also prefixed the different areas by there type - Basin/province/region) to make things clearer and grouped by type:

Screenshot 2022-08-02 at 12 50 38

Great! Thanks for implementing this so fast.
As basins and regions are very few and in general way more used than provinces, I would leave provinces as last ones.
Something like:

  • Basin: Dijle - Dyle
  • Basin: ...
  • Basin: ...
  • Region: Bruxelles
  • Region: ...
  • Region: ...
  • Province: Antwerpen
  • Province: ...
  • Province: ...

However, I see how things are now probably easy as the filters are now alphabetically ordered. If changing the dropbox order means messying up things, then forget this comment ๐Ÿ˜ƒ

Yes, the filtering is currently alphabetical, I wouldn't change the logic/overcomplicate things at this step just to avoid this small inconvenience. A quick and dirty way to circumvent that would be to add a prefix such as A) Basin: Dijle / Dyle, B) Region: Bruxelles, ...

Indeed, @niconoe, leave as it is: it's just a detail after all. I would not add a), b), c). Once this goes to prod, please, let me know so that I will contact the interested user. Thanks.

It's already in prod!

Indeed! I was still on dev without noticing it. Thanks.
I think you can close this issue.