Recently I noticed that ST_Within
stopped working properly on some features.
The geometry that breaks st_within
has 1337 vertices (ESRI arc - many segments 1cm distance).
If I reduce the vertices number the ST_Within
works again.
The MariaDB version that I am using is 10.3.29.
I do not know if there was an update that caused the above problem, but it was working perfectly a week ago.
Any ideas what is causing the problem?
The vertices and SQL are uploaded to this file as they too large/messy to add to this context
----UPDATE-----
The spatial index is the one that causes the breaking. When I dropped the spatial index of the column the ST_Within
started working again. Any ideas what causes the spatial index to ignore the geometry?