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
asked 3 years ago490 views
2 Answers
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
answered 3 years ago
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
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions