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
posta 3 anni fa500 visualizzazioni
2 Risposte
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
con risposta 3 anni fa
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
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande