3 ms·
> The implementation is based on the S2 library (https://code.google.com/p/s2-geometry-library/ https://code.google.com/p/s2-geometry-library/) also used by Pos
by danielmewes 12y ago
> The implementation is based on the S2 library (https://code.google.com/p/s2-geometry-library/ https://code.google.com/p/s2-geometry-library/) also used by PostGIS, which AFAIK does spherical linear interpolation.
Note that RethinkDB actually doesn't use S2 for computing distances. S2 is used for computing intersections and for indexing though. (also as another poster already pointed out, S2 is not used by PostGIS)