We should be able to sort nodes by distance for a given location.
/nodes?latitude=xx&longitude=yy&order=distance
/nodes?order=distance => should sort the nodes according to the distance to the Point(0, 0)
We should add the following:
NodeListOrder.Distance to the NodeListOrder enum.
'latitude', 'longitude' filters.
By use Geospatial-queries
Update field type to point
We should be able to sort nodes by distance for a given location.
/nodes?latitude=xx&longitude=yy&order=distance
/nodes?order=distance => should sort the nodes according to the distance to the Point(0, 0)
We should add the following:
NodeListOrder.Distance to the NodeListOrder enum.
'latitude', 'longitude' filters.
By use Geospatial-queries
Update field type to
pointstatistics-service/src/models/HostDetail.ts
Line 38 in d78a50c