我正在尝试实现 OrientDB 空间模块,需要一些帮助来用 Java 对其进行编码。
如何在 Java 中进行等效查询:
select *,ST_Distance_Sphere(location,ST_GeomFromText('POINT(12.4696635 41.8894657)')) as distance from Points where ST_Distance_Sphere(location,ST_GeomFromText('POINT(12.4696635 41.8894657)')) < 200 order by distance
谢谢!