Using the
earthdistance
module, we can get the assumed radius of the earth (in meters).
> create extension cube;
CREATE EXTENSION
> create extension earthdistance;
CREATE EXTENSION
> select earth();
earth
---------
6378168
Using the
earthdistance
module, we can get the assumed radius of the earth (in meters).
> create extension cube;
CREATE EXTENSION
> create extension earthdistance;
CREATE EXTENSION
> select earth();
earth
---------
6378168