MobilityDB 1.1
|
◆ ADD_CURRENT_POSITION
Value:
do { \
lwpoint = lwpoint_make2d(srid, curPos.x, curPos.y); \
lwpoint_free(lwpoint); \
instants[l++] = tinstant_make(point, T_TGEOMPOINT, t); \
pfree(DatumGetPointer(point)); \
} while (0)
TInstant * tinstant_make(Datum value, meosType temptype, TimestampTz t) Construct a temporal instant from the arguments. Definition: tinstant.c:276 GSERIALIZED * geo_serialize(const LWGEOM *geom) Serialize a geometry/geography. Definition: tpoint_spatialfuncs.c:226 Definition: postgis_ext_defs.in.h:153 |