Skip to content

meos.js


meos.js / TemporalType

TemporalType

Functions

fromWKT()

ts
function fromWKT(wkt): TemporalType;

Defined in: core/types/temporal/Temporal.ts:122

Infers the subtype from the WKT string representation by inspecting the opening characters, matching the same logic as MEOS internally.

The "Interp=Stepwise;" prefix indicates a stepwise sequence or sequence set; square/round brackets denote a sequence; a leading brace followed by a bracket is a sequence set; otherwise it is an instant or instant set.

Parameters

wkt

string

Returns

TemporalType