Geospatial queries

0

Does the AWS Neptune team plan to implement a Geospatial API for Neptune that would allow "nearby" queries using geolocation coordinates latitude and longitude?

If not, can you give guidance or an example query? It doesn't need to be perfectly spherical, but at least something that shows two users are next to each other given their latitude and longitude coords, and sorted by ascending distance.

Edited by: JasonD1 on Jan 4, 2021 9:41 PM

JasonD1
已提问 3 年前499 查看次数
2 回答
0

Kelvin Lawrence (author of Practical Gremlin) has a Haversine Great Circle query in his GitHub repo. Will this suffice? https://github.com/krlawrence/graph/blob/master/sample-code/great-circle.groovy

Edited by: TaylorR-AWS on Jan 6, 2021 11:24 AM

profile pictureAWS
已回答 3 年前
0

yes, I modeled mine similar to a slightly older version of that. I'll just continue with what I have for now if Neptune doesn't plan on adding something natively in the near future.

JasonD1
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则