|
static double | dist2d_pt_pt (POINT2D *p1, POINT2D *p2) |
| Return the 2D distance between the points. More...
|
|
static double | dist2d_pt_seg (POINT2D *p, POINT2D *A, POINT2D *B) |
| Return the 2D distance between the point the segment. More...
|
|
static double | dist3d_pt_pt (POINT3DZ *p1, POINT3DZ *p2) |
| Return the 3D distance between the points. More...
|
|
static double | dist3d_pt_seg (POINT3DZ *p, POINT3DZ *A, POINT3DZ *B) |
| Return the 3D distance between the point the segment. More...
|
|
Temporal * | geo_to_tpoint (const GSERIALIZED *geo) |
| Converts the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal point. More...
|
|
static TSequence * | geo_to_tpointdiscseq (const GSERIALIZED *geo) |
| Convert the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal discrete sequence point. More...
|
|
static TInstant * | geo_to_tpointinst (const GSERIALIZED *geo) |
| Convert the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal instant point. More...
|
|
static TSequence * | geo_to_tpointseq (const GSERIALIZED *geo) |
| Convert the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal sequence point. More...
|
|
static TSequenceSet * | geo_to_tpointseqset (const GSERIALIZED *geo) |
| Convert the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal sequence set point. More...
|
|
static int | int_cmp (const void *a, const void *b) |
| Return a negative or a positive value depending on whether the first number is less than or greater than the second one. More...
|
|
static void | point_grid (Datum value, bool hasz, const gridspec *grid, POINT4D *p) |
|
static LWPOINT * | point_measure_to_lwpoint (Datum point, Datum measure) |
| Convert the geometry/geography point and the measure into a PostGIS point with an M coordinate. More...
|
|
Temporal * | temporal_simplify (const Temporal *temp, double eps_dist, bool synchronized) |
| Simplify the temporal float/point using a spatio-temporal extension of the Douglas-Peucker line simplification algorithm. More...
|
|
static void | tfloatseq_findsplit (const TSequence *seq, int i1, int i2, int *split, double *dist) |
| Find a split when simplifying the temporal sequence point using a spatio-temporal extension of the Douglas-Peucker line simplification algorithm. More...
|
|
static Temporal * | tpoint_affine (const Temporal *temp, const AFFINE *a) |
| Affine transform a temporal point. More...
|
|
bool | tpoint_AsMVTGeom (const Temporal *temp, const STBox *bounds, int32_t extent, int32_t buffer, bool clip_geom, GSERIALIZED **geom, int64 **timesarr, int *count) |
| Transform the temporal point to Mapbox Vector Tile format. More...
|
|
static GSERIALIZED * | tpoint_decouple (const Temporal *temp, int64 **timesarr, int *count) |
| Decouple the points and the timestamps of a temporal point. More...
|
|
static Temporal * | tpoint_grid (const Temporal *temp, const gridspec *grid, bool filter_pts) |
| Stick a temporal point to the given grid specification. More...
|
|
static Temporal * | tpoint_mvt (const Temporal *tpoint, const STBox *box, uint32_t extent, uint32_t buffer, bool clip_geom) |
| Transform a temporal point into vector tile coordinate space. More...
|
|
static Temporal * | tpoint_remove_repeated_points (const Temporal *temp, double tolerance, int min_points) |
| Return a temporal point with consecutive equal points removed. More...
|
|
bool | tpoint_to_geo_measure (const Temporal *tpoint, const Temporal *measure, bool segmentize, GSERIALIZED **result) |
| Construct a geometry/geography with M measure from the temporal point and. More...
|
|
static GSERIALIZED * | tpointdiscseq_to_geo_measure (const TSequence *seq, const TSequence *measure) |
| Construct a geometry/geography with M measure from the temporal discrete sequence point and the temporal float. More...
|
|
static TInstant * | tpointinst_affine (const TInstant *inst, const AFFINE *a) |
| Affine transform a temporal point. More...
|
|
static void | tpointinst_affine1 (const TInstant *inst, const AFFINE *a, int srid, bool hasz, TInstant **result) |
| Affine transform a temporal point (iterator function) More...
|
|
static GSERIALIZED * | tpointinst_decouple (const TInstant *inst, int64 **timesarr, int *count) |
| Decouple the points and the timestamps of a temporal point. More...
|
|
static TInstant * | tpointinst_grid (const TInstant *inst, const gridspec *grid) |
| Stick a temporal point to the given grid specification. More...
|
|
static GSERIALIZED * | tpointinst_to_geo_measure (const TInstant *inst, const TInstant *measure) |
| Construct a geometry/geography with M measure from the temporal instant point and the temporal float. More...
|
|
static LWPOINT * | tpointinst_to_lwpoint (const TInstant *inst) |
| Convert the temporal instant point into a PostGIS trajectory point where the M coordinate encodes the timestamp in Unix epoch. More...
|
|
static TSequence * | tpointseq_affine (const TSequence *seq, const AFFINE *a) |
| Affine transform a temporal point. More...
|
|
static GSERIALIZED * | tpointseq_decouple (const TSequence *seq, int64 **timesarr, int *count) |
| Decouple the points and the timestamps of a temporal point. More...
|
|
static LWGEOM * | tpointseq_decouple1 (const TSequence *seq, int64 *times) |
| Decouple the points and the timestamps of a temporal point. More...
|
|
static void | tpointseq_findsplit (const TSequence *seq, int i1, int i2, bool synchronized, int *split, double *dist) |
| Find a split when simplifying the temporal sequence point using a spatio-temporal extension of the Douglas-Peucker line simplification algorithm. More...
|
|
static TSequence * | tpointseq_grid (const TSequence *seq, const gridspec *grid, bool filter_pts) |
| Stick a temporal point to the given grid specification. More...
|
|
static TSequence * | tpointseq_remove_repeated_points (const TSequence *seq, double tolerance, int min_points) |
| Return a temporal point with consecutive equal points removed. More...
|
|
static LWGEOM * | tpointseq_to_geo1 (const TSequence *seq) |
| Converts the temporal sequence point into a PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch. More...
|
|
static GSERIALIZED * | tpointseq_to_geo_measure (const TSequence *seq, const TSequence *measure) |
| Construct a geometry/geography with M measure from the temporal sequence point and the temporal float. More...
|
|
static LWGEOM * | tpointseq_to_geo_measure1 (const TSequence *seq, const TSequence *measure) |
| Construct a geometry/geography with M measure from the temporal sequence point and the temporal float. More...
|
|
static GSERIALIZED * | tpointseq_to_geo_measure_segmentize (const TSequence *seq, const TSequence *measure) |
| Construct a geometry/geography with M measure from the temporal sequence point and the temporal float. More...
|
|
static int | tpointseq_to_geo_measure_segmentize1 (const TSequence *seq, const TSequence *measure, LWGEOM **result) |
| Construct a geometry/geography with M measure from the temporal sequence point and the temporal float. More...
|
|
static int | tpointseq_to_geo_segmentize1 (const TSequence *seq, LWGEOM **result) |
| Converts the temporal sequence point into a PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch. More...
|
|
static TSequenceSet * | tpointseqset_affine (const TSequenceSet *ss, const AFFINE *a) |
| Affine transform a temporal point. More...
|
|
static GSERIALIZED * | tpointseqset_decouple (const TSequenceSet *ss, int64 **timesarr, int *count) |
| Decouple the points and the timestamps of a temporal point. More...
|
|
static TSequenceSet * | tpointseqset_grid (const TSequenceSet *ss, const gridspec *grid, bool filter_pts) |
| Stick a temporal point to the given grid specification. More...
|
|
static TSequenceSet * | tpointseqset_remove_repeated_points (const TSequenceSet *ss, double tolerance, int min_points) |
| Return a temporal point with consecutive equal points removed. More...
|
|
static GSERIALIZED * | tpointseqset_to_geo_measure (const TSequenceSet *ss, const TSequenceSet *measure) |
| Construct a geometry/geography with M measure from the temporal sequence point and the temporal float. More...
|
|
static GSERIALIZED * | tpointseqset_to_geo_measure_segmentize (const TSequenceSet *ss, const TSequenceSet *measure) |
| Construct a geometry/geography with M measure from the temporal sequence set point and the temporal float. More...
|
|
static TInstant * | trajpoint_to_tpointinst (LWPOINT *lwpoint) |
| Convert the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal instant point. More...
|
|
static TSequence * | tsequence_simplify (const TSequence *seq, double eps_dist, bool synchronized, uint32_t minpts) |
|
static TSequenceSet * | tsequenceset_simplify (const TSequenceSet *ss, double eps_dist, bool synchronized, uint32_t minpts) |
| Simplify the temporal sequence set float/point using a spatio-temporal extension of the Douglas-Peucker line simplification algorithm. More...
|
|