TRK_EntryExitPoints takes a track column and a geometry column and returns an array of struct representing the points at which the track enters and exits the geometry. The geometry type can be linestring or polygon.
Each element of the array contains two structs:
entry—This struct contains information about where the track enters the geometry. It includes the following fields:point—The geometry of the entry point.time—The timestamp of the entry point formatted asH.H- M M- S S hh :mm :ss.s track—A boolean value._endpoint Trueif the entry point is the starting or ending point of the track.
exit—This struct contains information about where the track exits the geometry. It includes the following fields:point—The geometry of the exit point.time