Details
-
Bug
-
Status: Closed (View Workflow)
-
Resolution: Fixed
-
None
-
None
-
None
Description
This query:
SELECT ST_INTERSECTS( GeomFromText('MULTILINESTRING( ( 4030 3045 , 3149 2461 , 3004 3831 , 3775 2976 ) )') , GeomFromText('LINESTRING(3058.41 3187.91,3081.52 3153.19,3042.99 3127.57,3019.89 3162.29,3039.07 3175.05,3039.07 3175.05,3058.41 3187.91,3081.52 3153.19,3042.99 3127.57,3019.89 3162.29)') );
returns TRUE with PostGIS and False with MariaDB. Visual examination with a GUI editor shows that intersection does indeed exist.
The shape of the second linestring seems to be important. This linestring was taken from an actual openstreetmap , so I assume it is realistic.
ST_INTERSECTION() also reports a non-empty intersection, so ST_INTERSECTS must be TRUE.