34#ifndef __TSPATIAL_PARSER_H__
35#define __TSPATIAL_PARSER_H__
42#include "temporal/meos_catalog.h"
46extern bool srid_parse(
const char **str,
int *srid);
48 int *temp_srid,
Datum *result);
meosType
Enumeration that defines the built-in and temporal types used in MobilityDB.
Definition: meos_catalog.h:55
interpType
Enumeration that defines the interpolation types used in MEOS.
Definition: meos.h:161
External API of the Mobility Engine Open Source (MEOS) library.
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Definition: postgis_ext_defs.in.h:170
Structure to represent spatiotemporal boxes.
Definition: meos.h:134
Structure to represent temporal values of instant subtype.
Definition: meos.h:185
Structure to represent temporal values of sequence set subtype.
Definition: meos.h:224
Structure to represent temporal values of sequence subtype.
Definition: meos.h:202
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:173
bool tspatialinst_parse(const char **str, meosType temptype, bool end, int *temp_srid, TInstant **result)
Parse a spatiotemporal instant from the input buffer.
Definition: tspatial_parser.c:374
STBox * stbox_parse(const char **str)
Parse a spatiotemporal box from the buffer.
Definition: tspatial_parser.c:89
Temporal * tspatial_parse(const char **str, meosType temptype)
Parse a spatiotemporal value from the input buffer.
Definition: tspatial_parser.c:557
bool srid_parse(const char **str, int *srid)
Functions for parsing temporal points.
Definition: tspatial_parser.c:54
TSequence * tspatialseq_disc_parse(const char **str, meosType temptype, int *temp_srid)
Parse a temporal discrete sequence spatial value from the buffer.
Definition: tspatial_parser.c:405
TSequenceSet * tspatialseqset_parse(const char **str, meosType temptype, interpType interp, int *temp_srid)
Parse a temporal sequence set spatial value from the input buffer.
Definition: tspatial_parser.c:515
Temporal * tpoint_parse(const char **str, meosType temptype)
Parse a temporal point value from the buffer.
Definition: tspatial_parser.c:627
bool geo_parse(const char **str, meosType basetype, char delim, int *srid, GSERIALIZED **result)
bool tspatialseq_cont_parse(const char **str, meosType temptype, interpType interp, bool end, int *temp_srid, TSequence **result)
Parse a temporal sequence spatial value from the input buffer.
Definition: tspatial_parser.c:451
bool spatial_parse_elem(const char **str, meosType temptype, char delim, int *temp_srid, Datum *result)
Parse a spatial base value from the input buffer.
Definition: tspatial_parser.c:326