Skip to content
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

[feature] value constraints for known fields #9

Open
KS-HTK opened this issue Nov 28, 2022 · 0 comments
Open

[feature] value constraints for known fields #9

KS-HTK opened this issue Nov 28, 2022 · 0 comments

Comments

@KS-HTK
Copy link
Collaborator

KS-HTK commented Nov 28, 2022

It is possible to set value constraints for attributes on QGis layers.


For bus layers

name type values features
pp_type QString "bus" or "line"
pp_index int enforce unique (for bus layers only if possible)
in_service double 1 or 0

for line layers

name type values features
pp_type QString "bus" or "line"
pp_index int enforce unique (for line layers only if possible)
in_service double 1 or 0

possibly limit std_type to a known string if metadata can be added to qgis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant