niche_vlaanderen version: development (master 8/12/2022)
The selection of the vegetation columns in validation.py vegetation_columns = columns[columns.str.upper().str.startswith('HAB')] induces errors because there are other fields starting with 'HAB'.
In the official version of the habitat map we have a field named HABLEGENDE/HABlegende (the letter case apparently depends on the version, I checked for 2014, 2016, 2018, 2020). The test dataset for Brasschaat uses an internal version of the habitat map that does not contain this HABLEGENDE field.
Of course we cannot cover avery possible field starting with HAB that a user might ever want to add to his/her shape, but I think we should at least allow HABLEGENDE/HABlegende to be present in the shape (since this field appears in the official habitat map)
The selection of the vegetation columns in validation.py
vegetation_columns = columns[columns.str.upper().str.startswith('HAB')]
induces errors because there are other fields starting with 'HAB'.In the official version of the habitat map we have a field named
HABLEGENDE
/HABlegende
(the letter case apparently depends on the version, I checked for 2014, 2016, 2018, 2020). The test dataset for Brasschaat uses an internal version of the habitat map that does not contain this HABLEGENDE field.Of course we cannot cover avery possible field starting with HAB that a user might ever want to add to his/her shape, but I think we should at least allow HABLEGENDE/HABlegende to be present in the shape (since this field appears in the official habitat map)