riparias / early-alert-webapp

The source code of the LIFE RIPARIAS early alert web application
https://alert.riparias.be
MIT License
0 stars 0 forks source link

Add municipalities to areas #18

Closed damianooldoni closed 9 months ago

damianooldoni commented 10 months ago

Requested by participants of the workshop "Digitalization and mobilization" given by @timadriaens and me during the ExotenNet event.

damianooldoni commented 10 months ago

Municipalities can be downloaded as geopackage from https://www.geo.be/catalog/details/1cd00540-b0ca-11ec-a863-186571a04de2?l=nl

damianooldoni commented 10 months ago

I have just had a look. The layer we are interested to is called municipality. Notice that the polygons have the Z dimension. I had to remove it for visualizing the polygon via leaflet.

Name of the areas

The following mapping should be used as the name should be sometimes be in Dutch, sometimes in French, sometimes in German, depending on the value of the languagestatute column.

languagestatute column to use
1 namedut
2 namefre
4 namedut - namefre, e.g. Auderghem - Ouderghem
5 namedut
6 namefre
7 namefre
8 nameger

Notice that:

Tags

languagestatute region (tag)
1 Flanders
2 Wallonia
4 Brussels
5 Flanders
6 Wallonia
7 Wallonia
8 Wallonia

I would no add the provinces as tags: if the user wants all municipalities in one or more provinces, he/she can just select the provinces, which are already provided as areas with tag province.

niconoe commented 10 months ago

That's now implemented (soon to de deployed!)

damianooldoni commented 10 months ago

Many thanks @niconoe. Please, ping me when it's deployed so that I give a look at it and then I can close the issue.

niconoe commented 10 months ago

@damianooldoni: it's finally deployed. Sorry for the delay, I ran into weird issues due to an old GDAL version on the production server.

damianooldoni commented 9 months ago

No worries. Glad that the GDAL issues were solved.

Good job! Municipalities are correctly visualized and tagged.