MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tbox_in()

TBox * tbox_in ( const char *  str)

Return a temporal box from its Well-Known Text (WKT) representation.

Examples of input:

TBOX X([1.0, 4.0)) -> only value
TBOX XT([1.0, 4.0),[2001-01-01, 2001-01-02]) -> value and time
TBOX T([2001-01-01, 2001-01-02]) -> only time

where the commas are optional.

Returns
On error return NULL
Parameters
[in]strString @csqlfn Tbox_in()