Is there a way in Cockroachdb to make geolocation based queries ?
For instance, we store origin/destination entries with their respective longitude/latitude and we need to be able to get to the rows for which origin->(some longitude/latitude point as param)->destination has a distance below a certain value (param too).
ElasticSearch lets us create Groovy queries that can achieve the intended result
PostgreSQL has https://www.postgresql.org/docs/8.3/static/earthdistance.html
How can we achieve this with CockroachDB ?