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
preguntada hace 3 años500 visualizaciones
2 Respuestas
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
respondido hace 3 años
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
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas