-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add Geometry Validation functions from PostGIS #39
Comments
Hi @blikij I can add this PostGIS like functionality, sure. Bear in mind that much like PostGIS, validation will work on sane geometries only (for example, you can't create a polygon comprised of a non closed ring). Such shapes will cause queries to fail (which is also what happens in PostGIS) It will of course, work for softer errors (like self Intersecrting polygons) |
@bliki Bothj
I'll also try and push |
Thank you so much. ST_IsValidDetail is not that crucial for us. If the other cn be implemented we have something I can use in production. |
Do you plan on using |
Yes, It would allow us to perform additional validations on the data. If the errors are minor... The result would not be written back, instead we would write into an additional table... (using a create table... select...) |
OK. Got it. I'll make an effort to add that to the release plan |
@blikij I can confirm that an implementation of You will be able to call ST_MakeValid(geom)
ST_MakeValid(geom,'keepcollapsed=true|false') bear in mind this is somewhat experimental as You can see further discussion here locationtech/jts#959 |
Released in 0.8.8 |
Would it be possible to add the geometry validation functions. Such as ST_IsValid, ST_IsValidDetail, ST_IsValidReason and ST_MakeValid? The European Environment Agency could use this excellent work in our data reporting tool making spatial validation as well possible.
The text was updated successfully, but these errors were encountered: