Hi, I am getting a violation of geometry constraint error when running a query which is inserting polygons into a table on joining the intersections from two other tables.
I have checked the two source polygons are polygons.
They are all SRID 4326.
I am able to calculate an area for each polygon so they seem good polygons.
There are no null entries in my source tables.
What other kinds of checks can I do to try and work out what might be causing the problem?
Best, Chris
Hey Chris,
Also check out ST_CollectionExtract. The intersection can also contain a combination of point, lines and polygons, and if you filter on only polygons you'll lose those...
Regards,
Pieter
To view this discussion visit https://groups.google.com/d/msgid/spatialite-users/000901db2636%249c309280%24d491b780%24%40gmail.com.
Thanks. That’s also a section of the functions table I haven’t explored before. Lots of new functions there.
Best, Chris