Ticket #44 (closed enhancement: fixed)
geometry validation
| Reported by: | yassefa | Owned by: | |
|---|---|---|---|
| Priority: | minor | Version: | SVN |
| Keywords: | geometry validity | Cc: | |
| Triage Stage: | Unreviewed | State of Approval: | Unnecessary |
| Attached Patches: | None | Complexity: | Unknown |
| Compatibility: | Unknown | Specification: | Unnecessary |
Description
when doing for example feature insertion, there is a test done to validate the geometry according to: http://postgis.org/documentation/manual-svn/ST_IsValid.html http://postgis.org/documentation/manual-svn/ch04.html#OGC_Validity
Although I understand the need to validate geometries, It might be useful sometime to turn off the validation and allow 'invalid' features to work.
Can we consider adding a configuration option that can allow us to turn off the validation?
Note also that in the current situation (for example doing a wfs insert), when a geometry is found invalid, a record is still added to the postgres db but the geometry column is empty. Not sure if this is a desired behavior or should the transaction fail all together.