-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order of ORDERED enums not considered in attribute forms #940
Comments
Shouldn't the Anyway, I think this would require a QGIS change. Maybe this is something to consider qgis/QGIS#48191 Still Model Baker should then set the sorting to the |
Currently the |
Yes you are right. I have to clarify that. |
|
From the ili2db docs:
|
Thanks for the clarification. I asked back if it's just not working or like that on purpose. Let's see. If qgis/QGIS#48191 will be implemented with an order-expression, MB is flexible on that anyway. |
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
The text was updated successfully, but these errors were encountered: