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

◆ ensure_valid_trajectory()

static bool ensure_valid_trajectory ( const LWGEOM geom,
bool  hasz,
bool  discrete 
)
static

Ensure that a PostGIS trajectory has increasing timestamps.

Note
The verification is made in this function since calling the PostGIS function lwgeom_is_trajectory causes discrepancies with regression tests due to the error message that varies across PostGIS versions.