-
Notifications
You must be signed in to change notification settings - Fork 46
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
Disable geometry check per layer in 1.6 #2644
Conversation
1ab3063
to
ecde7f5
Compare
Ready for review |
Thanks @juliensam :-) |
I think that this line: should be moved https://github.com/juliensam/c2cgeoportal/blob/ecde7f5dc5fe73a2660c90840d127f5d181c5b23/c2cgeoportal/views/layers.py#L326... To get something like this:
and moved in a method to don't have duplicated code :-) |
In other word the geometry_validation validation settings will be the default value... |
I'm thinkig of adding a |
Or should it be in LayerV1? |
Oups! no the _get_ui_metadata is in the view. Scratch that. |
ecde7f5
to
4fe5254
Compare
Thanks :-) |
Ready to merge |
Fix #2583
Added the
geometry_validation
UIMetadata to disable the check ST_IsValid and ST_IsSimple. Simply set it to False to disable it. Added tests and there's only one commit.