Currently, SpatialPredicates only supports JTS. This task aims to add support for geolatte-geom as well. While it is possible to convert between JTS <-> geolatte-geom Geometry types, it is impossible to do so with Expression<Geometry> types. Using Expression#as(Class) will perform a database cast, which has the side effect of converting Geography types to Geometry types, which may produce unintended behavior. |