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年前500ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ