Open webrian opened 1 week ago
Shouldn't the seq
giving the order?
Anyway, I think this would require a QGIS change. Maybe this is something to consider https://github.com/qgis/QGIS/issues/48191
Still Model Baker should then set the sorting to the seq
(or itf_code
)
Currently the seq
column does not correspond to the itf_code
. Not sure if this is on purpose or an issue with ili2db?
Yes you are right. I have to clarify that.
The order of an ORDERED enumeration is not considered by Model Baker.
A simple INTERLIS model with a ordered enumeration:
This model is implemented in the (PG) database as follows:
The column
itfcode
represents the order as defined in the data model.Creating the QGIS project with Model Baker the enum values are ordered in an alphabetical way:
I think from a user's point of view it would be preferable if the order of the values corresponded to the data model.
See also the discussion in the INTERLIS forum: https://interlis.discourse.group/t/ordered-enumerations/175