MobilityDB 1.3
Loading...
Searching...
No Matches

◆ geog_distance()

double geog_distance ( const GSERIALIZED gs1,
const GSERIALIZED gs2 
)

Return the distance between two geographies.

Parameters
[in]gs1,gs2Geographies
Note
PostGIS function: geography_distance_uncached(PG_FUNCTION_ARGS). We set by default both tolerance and use_spheroid and initialize the spheroid to WGS84
Errors return -1 to replace return NULL