MobilityDB  1.0

◆ stbox_in()

Datum stbox_in ( PG_FUNCTION_ARGS  )

Input function for spatiotemporal boxes.

Examples of input:

STBOX((1.0, 2.0), (3.0, 4.0)) -> only spatial
STBOX Z((1.0, 2.0, 3.0), (4.0, 5.0, 6.0)) -> only spatial
STBOX T((1.0, 2.0, 2001-01-01), (3.0, 4.0, 2001-01-02)) -> spatiotemporal
STBOX ZT((1.0, 2.0, 3.0, 2001-01-01), (4.0, 5.0, 6.0, 2001-01-02)) -> spatiotemporal
STBOX T(( , , 2001-01-01), ( , , 2001-01-02)) -> only temporal
SRID=xxxx;STBOX... (any of the above)
GEODSTBOX((1.0, 2.0, 3.0), (4.0, 5.0, 6.0)) -> only spatial
GEODSTBOX T((1.0, 2.0, 3.0, 2001-01-01), (4.0, 5.0, 6.0, 2001-01-02)) -> spatiotemporal
GEODSTBOX T(( , , 2001-01-01), ( , , 2001-01-02)) -> only temporal
SRID=xxxx;GEODSTBOX... (any of the above)

where the commas are optional and the SRID is optional. If the SRID is not stated it is by default 0 for non geodetic boxes and 4326 for geodetic boxes