Details
Description
MariaDB [test]> SELECT ST_CROSSES( ST_GEOMFROMTEXT('LINESTRING( 0 0, 1 1)'), ST_GEOMFROMTEXT(' LINESTRING( 0 0, 1 3 )') )a;
|
+------+
|
| a |
|
+------+
|
| 1 |
|
+------+
|
1 row in set (0,001 sec)
|
|
mysql and postgis return 0:
mysql> SELECT ST_CROSSES( ST_GEOMFROMTEXT('LINESTRING( 0 0, 1 1)'), ST_GEOMFROMTEXT(' LINESTRING( 0 0, 1 3 )') )a;
|
+------+
|
| a |
|
+------+
|
| 0 |
|
+------+
|
1 row in set (0,00 sec)
|