在给定半径和中心的圆中查询 OrientDB 的经纬度对
Querying OrientDB for latitude-longitude pairs in a circle of a given radius and center
我有经纬度对的节点集合。
如何查询 OrientDB 以找到给定 radius
圆内以给定坐标为圆心的所有节点(经纬度对)?
您需要空间索引。参见 orientdb-lucene plugin
或者(没有空间索引,更慢)您可以使用 distance
函数。它在这里描述:SQL Where
我有经纬度对的节点集合。
如何查询 OrientDB 以找到给定 radius
圆内以给定坐标为圆心的所有节点(经纬度对)?
您需要空间索引。参见 orientdb-lucene plugin
或者(没有空间索引,更慢)您可以使用 distance
函数。它在这里描述:SQL Where