dgraph
dgraph copied to clipboard
Add @distance for geo
It would be really great if there was a function to call and return distance between points or polygons. ie. @distance(PointA, PointB). If it were to return the result in meters that could be really, really handy!
Agreed, this would be awesome to facilitate sorting geo queries by distance to a particular point.
Just came across the need for this feature, in tandem with the near
query, that would be cool.
any updates here?
I want to sort nodes by distance from fixed location. Is it possible without distance function?
Github issues have been deprecated. This issue has been moved to discuss. You can follow the conversation there and also subscribe to updates by changing your notification preferences.
