MobilityDB 1.1

◆ gserialized_geog_distance()

double gserialized_geog_distance ( const GSERIALIZED g1,
const GSERIALIZED g2 
)

Return the distance between two geographies.

Note
PostGIS function: geography_distance_uncached(PG_FUNCTION_ARGS)
We set by defaultboth tolerance and use_spheroid and initialize the spheroid to WGS84
Errors return -1 to replace return NULL