Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2.1
Description
The eval method of ST_Within (in file Predicates.scala) calls the function coveredBy of JTS. Instead, it should call the within function.
As a result, now, the expression
ST_Within(ST_GeomFromWKT('POINT(0 0)'),ST_GeomFromWKT('POLYGON ((0.0 0.0, 10.0 0.0, 10.0 10.0, 0.0 10.0, 0.0 0.0))'))
returns true, whereas the correct behaviour according to the simple features specification for sql should be false.
Also, the toString method of the ST_Within is wrong.
Attachments
Issue Links
- links to