0

我已经使用下面的代码在我的几何集合中成功添加了一个多边形:

Shape polygon = new Shape();
polygon.name = 'PolygonTest';
polygon.geom = Geometry.valueOf("POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))");

geometryCollection.put(polygon.name, polygon);

我试图使用以下查询在我的几何集合中找到我的“PolygonTest”:

String tql = SELECT * WHERE ST_MBRIntersects(geom, ST_GeomFromText('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'));
Query<Shape> query = geometryCollection.query(tql); 

在运行时,我得到一个GSStatementException: [60079:DS_TIM_ROW_DATA_INVALID] QUADRATICSURFACE value of Column[4] is not supported.

我的 ST_GeomFromText 调用有问题吗?注意:我从https://docs.griddb.net/tqlreference/tql-syntax-and-calculation-functions/#spatial-operations获得了语法。

感谢您的帮助!

4

0 回答 0