MySQL Forums
Forum List  »  GIS

ST_Intersect
Posted by: nik m
Date: November 26, 2012 05:51AM

Hello everyone,
I am having some troubles with the ST_Intersects on MySQL 5.6.7

I have two geometries: a polygon and a line with three points, two of them lie inside the polygon and the third is outside.

To my understanding, ST_Intersects should return 1 but it doesn't...
Here is an example query:

Select ST_Intersects(GeomFromText('LineString(40.703782 0.58101475, 40.7037898 0.58075726, 40.70378574 0.58051049)'), GeomFromText('POLYGON((40.703266 0.580561,40.704286 0.580561,40.704286 0.582181,40.703266 0.582181,40.703266 0.580561))'))

Any ideas?

Options: ReplyQuote


Subject
Views
Written By
Posted
ST_Intersect
5997
November 26, 2012 05:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.