MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tspatial_parser.c File Reference

Functions for parsing spatiotemporal values. More...

#include "geo/tspatial_parser.h"
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/type_parser.h"
#include "temporal/type_util.h"
#include "geo/tgeo_spatialfuncs.h"

Functions

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. More...
 
bool srid_parse (const char **str, int *srid)
 Parse a SRID specification from the buffer. More...
 
STBoxstbox_parse (const char **str)
 Parse a spatiotemporal box from the buffer. More...
 
Temporaltgeogpoint_in (const char *str)
 Return a temporal geography point from its Well-Known Text (WKT) representation. More...
 
Temporaltgeography_in (const char *str)
 Return a temporal geography from its Well-Known Text (WKT) representation. More...
 
Temporaltgeometry_in (const char *str)
 Return a temporal geometry from its Well-Known Text (WKT) representation. More...
 
Temporaltgeompoint_in (const char *str)
 Return a temporal geometry point from its Well-Known Text (WKT) representation. More...
 
Temporaltpoint_parse (const char **str, meosType temptype)
 Parse a temporal point value from the buffer. More...
 
Temporaltspatial_parse (const char **str, meosType temptype)
 Parse a spatiotemporal value from the input buffer. More...
 
bool tspatialinst_parse (const char **str, meosType temptype, bool end, int *temp_srid, TInstant **result)
 Parse a spatiotemporal instant from the input buffer. More...
 
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. More...
 
TSequencetspatialseq_disc_parse (const char **str, meosType temptype, int *temp_srid)
 Parse a temporal discrete sequence spatial value from the buffer. More...
 
TSequenceSettspatialseqset_parse (const char **str, meosType temptype, interpType interp, int *temp_srid)
 Parse a temporal sequence set spatial value from the input buffer. More...
 

Detailed Description

Functions for parsing spatiotemporal values.