Appearance
meos.js / TGeomPointInst
Class: TGeomPointInst
Defined in: core/types/basic/tgeompoint/TGeomPointInst.ts:20
Temporal geometry point - Instant subtype.
A single (geometry, timestamp) pair.
Example
ts
const inst = TGeomPointInst.fromValue('POINT(1 2)', 60_000_000);
console.log(inst.startValue()); // POINT(1 2)Extends
Constructors
Constructor
ts
new TGeomPointInst(inner): TGeomPointInst;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:103
Parameters
inner
number
Returns
TGeomPointInst
Inherited from
Accessors
inner
Get Signature
ts
get inner(): number;Defined in: core/types/temporal/Temporal.ts:232
Raw WASM pointer. Use when passing this value to low-level functions.
Returns
number
Inherited from
Methods
[dispose]()
ts
dispose: void;Defined in: core/types/temporal/Temporal.ts:250
Explicit Resource Management support. Allows using t = TBool.fromString(...) to free automatically.
Returns
void
Inherited from
alwaysEq()
ts
alwaysEq(wkt): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:596
Returns true if the point always equals geometry wkt. MEOS: always_eq_tgeo_geo
Parameters
wkt
string
Returns
boolean
Inherited from
alwaysEqTemporal()
ts
alwaysEqTemporal(other): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:622
Returns true if this always equals other TGeomPoint. MEOS: always_eq_tgeo_tgeo
Parameters
other
Returns
boolean
Inherited from
alwaysNe()
ts
alwaysNe(wkt): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:604
Returns true if the point never equals geometry wkt. MEOS: always_ne_tgeo_geo
Parameters
wkt
string
Returns
boolean
Inherited from
alwaysNeTemporal()
ts
alwaysNeTemporal(other): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:627
Returns true if this never differs from other TGeomPoint. MEOS: always_ne_tgeo_tgeo
Parameters
other
Returns
boolean
Inherited from
angularDifference()
ts
angularDifference(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:463
Returns the angular difference at each instant as a TFloat (Ptr). MEOS: tpoint_angular_difference
Returns
number
Inherited from
appendInstant()
ts
appendInstant(
inst,
maxdist?,
maxt?,
expand?): this;Defined in: core/types/temporal/Temporal.ts:606
Appends an instant to this temporal, returning a new temporal. MEOS: temporal_append_tinstant
Parameters
inst
this
The instant to append (same subtype as this).
maxdist?
number = 0
Maximum distance gap allowed (0 = no limit).
maxt?
number = 0
Maximum time gap as interval pointer (0 = no limit).
expand?
boolean = false
Whether to expand the sequence in-place.
Returns
this
Inherited from
appendSequence()
ts
appendSequence(seq, expand?): this;Defined in: core/types/temporal/Temporal.ts:616
Appends a sequence to this temporal, returning a new temporal. MEOS: temporal_append_tsequence
Parameters
seq
this
expand?
boolean = false
Returns
this
Inherited from
asBinary()
ts
asBinary(variant?): Uint8Array;Defined in: core/types/temporal/Temporal.ts:273
Returns the Well-Known Binary (WKB) representation.
The default variant 0 writes plain WKB in the native byte order; 0x08 (WKB_NDR) and 0x10 (WKB_XDR) choose the byte order. The spatial types write their SRID through asEWKB.
MEOS: temporal_as_wkb
Parameters
variant?
number = 0
Returns
Uint8Array
Inherited from
asEWKB()
ts
asEWKB(variant?): Uint8Array;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:275
Returns the Extended Well-Known Binary (EWKB) representation, which carries the SRID. The default variant 0 writes the native byte order; 0x08 (WKB_NDR) and 0x10 (WKB_XDR) choose it. MEOS: tspatial_as_ewkb
Parameters
variant?
number = 0
Returns
Uint8Array
Inherited from
asEWKT()
ts
asEWKT(maxdd?): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:265
EWKT string (includes SRID prefix). MEOS: tspatial_as_ewkt
Parameters
maxdd?
number = 15
Returns
string
Inherited from
asHexEWKB()
ts
asHexEWKB(variant?): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:285
Returns the hex-encoded Extended Well-Known Binary (EWKB) representation, which carries the SRID. The default variant 0 writes the native byte order; 0x08 (WKB_NDR) and 0x10 (WKB_XDR) choose it. MEOS: tspatial_as_hexewkb
Parameters
variant?
number = 0
Returns
string
Inherited from
asHexWKB()
ts
asHexWKB(variant?): string;Defined in: core/types/temporal/Temporal.ts:286
Returns the hex-encoded Well-Known Binary (WKB) representation.
The default variant 0 writes plain WKB in the native byte order; 0x08 (WKB_NDR) and 0x10 (WKB_XDR) choose the byte order. The spatial types write their SRID through asHexEWKB.
MEOS: temporal_as_hexwkb
Parameters
variant?
number = 0
Returns
string
Inherited from
asMFJSON()
ts
asMFJSON(
withBbox?,
flags?,
precision?,
srs?): string;Defined in: core/types/temporal/Temporal.ts:303
Returns the MF-JSON representation.
The hand-written wrapper converts an empty srs string to C NULL so that callers can omit the SRS without passing a null pointer directly.
MEOS: temporal_as_mfjson
Parameters
withBbox?
boolean = true
Include bounding box in the output (default true)
flags?
number = 3
Output flags (default 3)
precision?
number = 6
Coordinate decimal precision (default 6)
srs?
string | null
Spatial Reference System string, or null to omit
Returns
string
Inherited from
asText()
ts
asText(maxdd?): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:257
WKT string with coordinate precision. MEOS: tspatial_as_text
Parameters
maxdd?
number = 15
Returns
string
Inherited from
atGeo()
ts
atGeo(wkt, srid?): TGeomPoint | null;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:555
Restrict to instants where the geometry equals wkt.
srid defaults to this temporal's own SRID (see atGeom). MEOS: tgeo_at_geom
Parameters
wkt
string
srid?
number = ...
Returns
TGeomPoint | null
Inherited from
atGeom()
ts
atGeom(wkt, srid?): TGeomPoint | null;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:529
Restrict to instants inside geometry wkt.
srid defaults to this temporal's own SRID so the geometry and the trajectory share a coordinate system (MEOS rejects mixed-SRID operands). MEOS: tgeo_at_geom
Parameters
wkt
string
srid?
number = ...
Returns
TGeomPoint | null
Inherited from
atMax()
ts
atMax(): this;Defined in: core/types/temporal/Temporal.ts:455
Restricts to instants where the value is the maximum. MEOS: temporal_at_max
Returns
this
Inherited from
atMin()
ts
atMin(): this;Defined in: core/types/temporal/Temporal.ts:450
Restricts to instants where the value is the minimum. MEOS: temporal_at_min
Returns
this
Inherited from
atTsTzSet()
ts
atTsTzSet(s): this;Defined in: core/types/temporal/Temporal.ts:474
Restricts to the given timestamp set. MEOS: temporal_at_tstzset
Parameters
s
number
Returns
this
Inherited from
atTsTzSpan()
ts
atTsTzSpan(s): this;Defined in: core/types/temporal/Temporal.ts:479
Restricts to the given timestamp span. MEOS: temporal_at_tstzspan
Parameters
s
number
Returns
this
Inherited from
atTsTzSpanSet()
ts
atTsTzSpanSet(ss): this;Defined in: core/types/temporal/Temporal.ts:484
Restricts to the given timestamp span set. MEOS: temporal_at_tstzspanset
Parameters
ss
number
Returns
this
Inherited from
azimuth()
ts
azimuth(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:426
Returns the azimuth at each instant as a TFloat (Ptr). MEOS: tpoint_azimuth
Returns
number
Inherited from
bearingToPoint()
ts
bearingToPoint(wkt, invert?): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:436
Returns the bearing from each instant toward a fixed point as a TFloat (Ptr).
Parameters
wkt
string
WKT string of the reference point.
invert?
boolean = false
If true, returns the bearing from the point toward the trajectory. MEOS: bearing_tpoint_point
Returns
number
Inherited from
bearingToTemporal()
ts
bearingToTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:447
Returns the bearing between this and another TGeomPoint as a TFloat (Ptr). MEOS: bearing_tpoint_tpoint
Parameters
other
Returns
number
Inherited from
copy()
ts
copy(): this;Defined in: core/types/temporal/Temporal.ts:258
Returns a deep copy of this temporal value. MEOS: temporal_copy
Returns
this
Inherited from
cumulativeLength()
ts
cumulativeLength(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:455
Returns the cumulative length at each instant as a TFloat (Ptr). MEOS: tpoint_cumulative_length
Returns
number
Inherited from
direction()
ts
direction(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:418
Returns the direction (azimuth from start to end) in radians. MEOS: tpoint_direction
Returns
number
Inherited from
durationMs()
ts
durationMs(ignoreGaps?): number;Defined in: core/types/temporal/Temporal.ts:433
Returns the total duration as a number of milliseconds, through the parts of the interval MEOS answers (interval_to_timedelta); an interval with months, which has no fixed length, is refused.
Pass ignoreGaps=true to sum only sequence durations, ignoring the time gaps between sequences in a SequenceSet.
MEOS: temporal_duration
Parameters
ignoreGaps?
boolean = false
Returns
number
Inherited from
endInstant()
ts
endInstant(): this;Defined in: core/types/temporal/Temporal.ts:349
Returns the last instant as a new instance of the same subtype. MEOS: temporal_end_instant
Returns
this
Inherited from
endTimestamp()
ts
endTimestamp(): bigint;Defined in: core/types/temporal/Temporal.ts:414
Returns the last timestamp as microseconds since 2000-01-01 UTC. MEOS: temporal_end_timestamptz
Returns
bigint
Inherited from
endValue()
ts
endValue(): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:242
Returns the ending geometry as a WKT string. MEOS: tgeo_end_value + geo_as_text
Returns
string
Inherited from
equals()
ts
equals(other): boolean;Defined in: core/types/temporal/Temporal.ts:636
Pointer-based identity check. For value equality, use the generated teq_* / temporal_eq functions.
Parameters
other
Temporal<string>
Returns
boolean
Inherited from
everDisjoint()
ts
everDisjoint(wkt): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:656
Returns true if this is ever disjoint from geometry wkt. MEOS: edisjoint_tgeo_geo
Parameters
wkt
string
Returns
boolean
Inherited from
everDisjointTemporal()
ts
everDisjointTemporal(other): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:680
Returns true if this is ever disjoint from other TGeomPoint. MEOS: edisjoint_tgeo_tgeo
Parameters
other
Returns
boolean
Inherited from
TGeomPoint.everDisjointTemporal
everDWithin()
ts
everDWithin(wkt, dist): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:672
Returns true if this is ever within dist of geometry wkt. MEOS: edwithin_tgeo_geo
Parameters
wkt
string
dist
number
Returns
boolean
Inherited from
everDWithinTemporal()
ts
everDWithinTemporal(other, dist): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:690
Returns true if this is ever within dist of other TGeomPoint. MEOS: edwithin_tgeo_tgeo
Parameters
other
dist
number
Returns
boolean
Inherited from
TGeomPoint.everDWithinTemporal
everEq()
ts
everEq(wkt): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:580
Returns true if the point ever equals geometry wkt. MEOS: ever_eq_tgeo_geo
Parameters
wkt
string
Returns
boolean
Inherited from
everEqTemporal()
ts
everEqTemporal(other): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:612
Returns true if this ever equals other TGeomPoint. MEOS: ever_eq_tgeo_tgeo
Parameters
other
Returns
boolean
Inherited from
everIntersects()
ts
everIntersects(wkt): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:664
Returns true if this ever intersects geometry wkt. MEOS: eintersects_tgeo_geo
Parameters
wkt
string
Returns
boolean
Inherited from
everIntersectsTemporal()
ts
everIntersectsTemporal(other): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:685
Returns true if this ever intersects other TGeomPoint. MEOS: eintersects_tgeo_tgeo
Parameters
other
Returns
boolean
Inherited from
TGeomPoint.everIntersectsTemporal
everNe()
ts
everNe(wkt): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:588
Returns true if the point is never equal to geometry wkt. MEOS: ever_ne_tgeo_geo
Parameters
wkt
string
Returns
boolean
Inherited from
everNeTemporal()
ts
everNeTemporal(other): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:617
Returns true if this ever differs from other TGeomPoint. MEOS: ever_ne_tgeo_tgeo
Parameters
other
Returns
boolean
Inherited from
free()
ts
free(): void;Defined in: core/types/temporal/Temporal.ts:242
Frees the underlying MEOS allocation.
After calling free(), the instance must not be used. Calls the hand-written meos_free wrapper from res/bindings_c_header.txt.
Returns
void
Inherited from
getX()
ts
getX(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:471
Returns the X coordinate sequence as a TFloat (Ptr). MEOS: tpoint_get_x
Returns
number
Inherited from
getY()
ts
getY(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:479
Returns the Y coordinate sequence as a TFloat (Ptr). MEOS: tpoint_get_y
Returns
number
Inherited from
getZ()
ts
getZ(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:487
Returns the Z coordinate sequence as a TFloat (Ptr), or 0 if no Z. MEOS: tpoint_get_z
Returns
number
Inherited from
hasZ()
ts
hasZ(): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:511
Returns true if the points have a Z coordinate. MEOS: tspatial_to_stbox + stbox_hasz
Returns
boolean
Inherited from
instantN()
ts
instantN(n): this;Defined in: core/types/temporal/Temporal.ts:380
Returns the n-th instant (0-based index), MEOS's 1-based n + 1.
MEOS: temporal_instant_n
Parameters
n
number
Returns
this
Inherited from
interpolation()
ts
interpolation(): TInterpolation;Defined in: core/types/temporal/Temporal.ts:311
Returns the interpolation mode of this temporal value. MEOS: temporal_interp
Returns
Inherited from
isSimple()
ts
isSimple(): boolean;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:495
Returns true if the trajectory never self-intersects. MEOS: tpoint_is_simple
Returns
boolean
Inherited from
length()
ts
length(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:402
Returns the total length of the trajectory in the units of the CRS. MEOS: tpoint_length
Returns
number
Inherited from
maxInstant()
ts
maxInstant(): this;Defined in: core/types/temporal/Temporal.ts:369
Returns the instant with the maximum value. MEOS: temporal_max_instant
Returns
this
Inherited from
merge()
ts
merge(other): this;Defined in: core/types/temporal/Temporal.ts:624
Merges this temporal with another, returning a new temporal. MEOS: temporal_merge
Parameters
other
this
Returns
this
Inherited from
minInstant()
ts
minInstant(): this;Defined in: core/types/temporal/Temporal.ts:359
Returns the instant with the minimum value. MEOS: temporal_min_instant
Returns
this
Inherited from
minusGeo()
ts
minusGeo(wkt, srid?): TGeomPoint | null;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:568
Restrict to instants where the geometry differs from wkt.
srid defaults to this temporal's own SRID (see atGeom). MEOS: tgeo_minus_geom
Parameters
wkt
string
srid?
number = ...
Returns
TGeomPoint | null
Inherited from
minusGeom()
ts
minusGeom(wkt, srid?): TGeomPoint | null;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:542
Restrict to instants outside geometry wkt.
srid defaults to this temporal's own SRID (see atGeom). MEOS: tgeo_minus_geom
Parameters
wkt
string
srid?
number = ...
Returns
TGeomPoint | null
Inherited from
minusMax()
ts
minusMax(): this;Defined in: core/types/temporal/Temporal.ts:465
Excludes instants where the value is the maximum. MEOS: temporal_minus_max
Returns
this
Inherited from
minusMin()
ts
minusMin(): this;Defined in: core/types/temporal/Temporal.ts:460
Excludes instants where the value is the minimum. MEOS: temporal_minus_min
Returns
this
Inherited from
minusTsTzSet()
ts
minusTsTzSet(s): this;Defined in: core/types/temporal/Temporal.ts:489
Excludes the given timestamp set. MEOS: temporal_minus_tstzset
Parameters
s
number
Returns
this
Inherited from
minusTsTzSpan()
ts
minusTsTzSpan(s): this;Defined in: core/types/temporal/Temporal.ts:494
Excludes the given timestamp span. MEOS: temporal_minus_tstzspan
Parameters
s
number
Returns
this
Inherited from
minusTsTzSpanSet()
ts
minusTsTzSpanSet(ss): this;Defined in: core/types/temporal/Temporal.ts:499
Excludes the given timestamp span set. MEOS: temporal_minus_tstzspanset
Parameters
ss
number
Returns
this
Inherited from
nad()
ts
nad(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:785
Returns the nearest approach distance (NAD) to geometry wkt. MEOS: nad_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
nadSTBox()
ts
nadSTBox(box): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:796
Returns the nearest approach distance to an STBox (raw Ptr). MEOS: nad_tgeo_stbox
Parameters
box
number
Returns
number
Inherited from
nadTemporal()
ts
nadTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:804
Returns the nearest approach distance to another TGeomPoint. MEOS: nad_tgeo_tgeo
Parameters
other
Returns
number
Inherited from
nai()
ts
nai(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:812
Returns the nearest approach instant to geometry wkt as a TGeomPoint (Ptr). MEOS: nai_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
naiTemporal()
ts
naiTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:823
Returns the nearest approach instant to another TGeomPoint as a TGeomPoint (Ptr). MEOS: nai_tgeo_tgeo
Parameters
other
Returns
number
Inherited from
numInstants()
ts
numInstants(): number;Defined in: core/types/temporal/Temporal.ts:326
Returns the number of distinct instants in this temporal value. MEOS: temporal_num_instants
Returns
number
Inherited from
numTimestamps()
ts
numTimestamps(): number;Defined in: core/types/temporal/Temporal.ts:388
Returns the number of distinct timestamps. MEOS: temporal_num_timestamps
Returns
number
Inherited from
round()
ts
round(maxdd): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:503
Returns a new TGeomPoint with coordinates rounded to maxdd decimal digits. MEOS: temporal_round
Parameters
maxdd
number
Returns
Inherited from
scaleTime()
ts
scaleTime(duration): this;Defined in: core/types/temporal/Temporal.ts:526
Scales the temporal domain to last duration, a Postgres interval string (e.g. '10 minutes') or a raw interval Ptr. MEOS: temporal_scale_time
Parameters
duration
string | number
Returns
this
Inherited from
setInterp()
ts
setInterp(interp): this;Defined in: core/types/temporal/Temporal.ts:556
Returns a new temporal with the interpolation changed to interp. Pass TInterpolation values as numbers: Discrete=0, Stepwise=1, Linear=2. MEOS: temporal_set_interp
Parameters
interp
Returns
this
Inherited from
setSrid()
ts
setSrid(srid): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:332
Returns a new TGeomPoint with the SRID set to srid. MEOS: tspatial_set_srid
Parameters
srid
number
Returns
Inherited from
shiftScaleTime()
ts
shiftScaleTime(shift, duration): this;Defined in: core/types/temporal/Temporal.ts:540
Shifts then scales the temporal domain. shift and duration may each be a Postgres interval string (e.g. '1 hour', '10 minutes') or a raw Ptr. MEOS: temporal_shift_scale_time
Parameters
shift
string | number
duration
string | number
Returns
this
Inherited from
shiftTime()
ts
shiftTime(shift): this;Defined in: core/types/temporal/Temporal.ts:512
Shifts the temporal domain by shift, a Postgres interval string (e.g. '1 hour', '-30 minutes') or a raw interval Ptr. MEOS: temporal_shift_time
Parameters
shift
string | number
Returns
this
Inherited from
speed()
ts
speed(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:410
Returns the instantaneous speed as a TFloat (Ptr). MEOS: tpoint_speed
Returns
number
Inherited from
srid()
ts
srid(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:324
Returns the SRID of the spatial reference system. MEOS: tspatial_srid
Returns
number
Inherited from
startInstant()
ts
startInstant(): this;Defined in: core/types/temporal/Temporal.ts:339
Returns the first instant as a new instance of the same subtype. MEOS: temporal_start_instant
Returns
this
Inherited from
startTimestamp()
ts
startTimestamp(): bigint;Defined in: core/types/temporal/Temporal.ts:401
Returns the first timestamp as microseconds since 2000-01-01 UTC. MEOS: temporal_start_timestamptz
Returns
bigint
Inherited from
startValue()
ts
startValue(): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:231
Returns the starting geometry as a WKT string. MEOS: tgeo_start_value + geo_as_text
Returns
string
Inherited from
temporalContainedIn()
ts
temporalContainedIn(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:715
Returns a TBool (Ptr) that is true at instants where wkt contains this. MEOS: tcontains_geo_tgeo
Parameters
wkt
string
Returns
number
Inherited from
TGeomPoint.temporalContainedIn
temporalContains()
ts
temporalContains(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:723
Returns a TBool (Ptr) that is true at instants where this contains wkt. MEOS: tcontains_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
temporalContainsTemporal()
ts
temporalContainsTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:749
Returns a TBool (Ptr) for temporal containment between two TGeomPoints. MEOS: tcontains_tgeo_tgeo
Parameters
other
Returns
number
Inherited from
TGeomPoint.temporalContainsTemporal
temporalDisjoint()
ts
temporalDisjoint(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:699
Returns a TBool (Ptr) that is true at instants where this is disjoint from wkt. MEOS: tdisjoint_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
temporalDisjointTemporal()
ts
temporalDisjointTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:739
Returns a TBool (Ptr) for temporal disjoint with other TGeomPoint. MEOS: tdisjoint_tgeo_tgeo
Parameters
other
Returns
number
Inherited from
TGeomPoint.temporalDisjointTemporal
temporalDistance()
ts
temporalDistance(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:766
Returns a TFloat (Ptr) of the distance from this to geometry wkt at each instant. MEOS: tdistance_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
temporalDistanceTemporal()
ts
temporalDistanceTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:777
Returns a TFloat (Ptr) of the distance from this to other TGeomPoint at each instant. MEOS: tdistance_tgeo_tgeo
Parameters
other
Returns
number
Inherited from
TGeomPoint.temporalDistanceTemporal
temporalDWithin()
ts
temporalDWithin(wkt, dist): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:731
Returns a TBool (Ptr) that is true at instants where this is within dist of wkt. MEOS: tdwithin_tgeo_geo
Parameters
wkt
string
dist
number
Returns
number
Inherited from
temporalDWithinTemporal()
ts
temporalDWithinTemporal(other, dist): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:754
Returns a TBool (Ptr) for temporal dwithin with other TGeomPoint. MEOS: tdwithin_tgeo_tgeo
Parameters
other
dist
number
Returns
number
Inherited from
TGeomPoint.temporalDWithinTemporal
temporalEq()
ts
temporalEq(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:636
Returns a TBool (Ptr) that is true where this == wkt. MEOS: teq_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
temporalIntersects()
ts
temporalIntersects(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:707
Returns a TBool (Ptr) that is true at instants where this intersects wkt. MEOS: tintersects_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
temporalIntersectsTemporal()
ts
temporalIntersectsTemporal(other): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:744
Returns a TBool (Ptr) for temporal intersection with other TGeomPoint. MEOS: tintersects_tgeo_tgeo
Parameters
other
Returns
number
Inherited from
TGeomPoint.temporalIntersectsTemporal
temporalNe()
ts
temporalNe(wkt): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:644
Returns a TBool (Ptr) that is true where this != wkt. MEOS: tne_tgeo_geo
Parameters
wkt
string
Returns
number
Inherited from
toInstant()
ts
toInstant(): this;Defined in: core/types/temporal/Temporal.ts:567
Converts to TInstant (must already be an instant). MEOS: temporal_as_tinstant
Returns
this
Inherited from
toSequence()
ts
toSequence(interp): this;Defined in: core/types/temporal/Temporal.ts:572
Converts to TSequence with the given interpolation. MEOS: temporal_as_tsequence
Parameters
interp
Returns
this
Inherited from
toSequenceSet()
ts
toSequenceSet(interp): this;Defined in: core/types/temporal/Temporal.ts:583
Converts to TSequenceSet with the given interpolation. MEOS: temporal_as_tsequenceset
Parameters
interp
Returns
this
Inherited from
toSTBox()
ts
toSTBox(): number;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:340
Returns the bounding STBox as a raw Ptr. MEOS: tspatial_to_stbox
Returns
number
Inherited from
toString()
ts
toString(maxdd?): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:223
WKT string representation.
Parameters
maxdd?
number = 15
Maximum decimal digits for coordinates (default 15).
Returns
string
Inherited from
toTGeometry()
ts
toTGeometry(): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:370
Converts to a tgeometry (removes point constraint, keeps geometry). MEOS: tgeompoint_to_tgeometry
Returns
Inherited from
trajectory()
ts
trajectory(unaryUnion?): string;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:391
Returns the trajectory as a WKT geometry string. For a sequence this is typically a LineString; for an instant it is a Point. MEOS: tpoint_trajectory + geo_as_text
Parameters
unaryUnion?
boolean = false
Returns
string
Inherited from
transform()
ts
transform(srid): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:352
Reprojects to the given SRID. MEOS: tspatial_transform
Parameters
srid
number
Returns
Inherited from
transformPipeline()
ts
transformPipeline(
pipelinestr,
srid,
isForward?): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:360
Reprojects using a PROJ pipeline string. MEOS: tspatial_transform_pipeline
Parameters
pipelinestr
string
srid
number
isForward?
boolean = true
Returns
Inherited from
valueAtTimestamp()
ts
valueAtTimestamp(t): string | null;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:310
Evaluates the temporal geometry at a specific timestamp. Returns the WKT string or null if outside the domain. MEOS: temporal_at_timestamptz + tgeo_start_value + geo_as_text
Parameters
t
bigint
Returns
string | null
Inherited from
valueN()
ts
valueN(n): string | null;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:297
Returns the n-th distinct geometry value (0-based) as a WKT string. MEOS: tgeo_value_n + geo_as_text
Parameters
n
number
Returns
string | null
Inherited from
fromBaseTemporal()
ts
static fromBaseTemporal(wkt, domain): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:177
Create a TGeomPoint with constant geometry wkt spanning the same domain as domain. MEOS: tpoint_from_base_temp
Parameters
wkt
string
domain
Returns
Inherited from
fromBaseTime()
ts
static fromBaseTime(
wkt,
time,
type,
interp?): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:188
Create a TGeomPoint with constant geometry wkt over a time object. MEOS: tpointseq_from_base_tstzset / tstzspan / tpointseqset_from_base_tstzspanset
Parameters
wkt
string
time
number
type
"tstzset" | "tstzspan" | "tstzspanset"
interp?
number = 3
Returns
Inherited from
fromBinary()
ts
static fromBinary(wkb): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:139
Reads a TGeomPoint from its WKB or EWKB bytes, as asBinary and asEWKB write them. MEOS: temporal_from_wkb
Parameters
wkb
Uint8Array
Returns
Inherited from
fromEWKB()
ts
static fromEWKB(ewkb): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:155
Reads a TGeomPoint from its EWKB bytes, as asEWKB writes them. MEOS: temporal_from_wkb
Parameters
ewkb
Uint8Array
Returns
Inherited from
fromHexEWKB()
ts
static fromHexEWKB(hexewkb): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:147
Reads a TGeomPoint from its hex-encoded EWKB, as asHexEWKB writes it. MEOS: temporal_from_hexwkb
Parameters
hexewkb
string
Returns
Inherited from
fromHexWKB()
ts
static fromHexWKB(hexwkb): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:131
Reads a TGeomPoint from its hex-encoded WKB or EWKB, as asHexWKB and asHexEWKB write it. MEOS: temporal_from_hexwkb
Parameters
hexwkb
string
Returns
Inherited from
fromInstant()
ts
static fromInstant(wkt, timestamp): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:166
Create a TGeomPointInst from a WKT point string and a timestamp.
Parameters
wkt
string
WKT geometry string (e.g. "POINT(1 2)").
timestamp
bigint
Microseconds since 2000-01-01 UTC. MEOS: tpointinst_make
Returns
Inherited from
fromMFJSON()
ts
static fromMFJSON(mfjson): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:123
Parse a TGeomPoint from a MF-JSON string. MEOS: tgeompoint_from_mfjson
Parameters
mfjson
string
Returns
Inherited from
fromString()
ts
static fromString(wkt): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:115
Parse a TGeomPoint from a WKT/EWKT string. MEOS: tgeompoint_in
Parameters
wkt
string
Returns
Inherited from
fromTGeometry()
ts
static fromTGeometry(temp): TGeomPoint;Defined in: core/types/basic/tgeompoint/TGeomPoint.ts:378
Converts from tgeometry to TGeomPoint (requires point geometry). MEOS: tgeometry_to_tgeompoint
Parameters
temp
number
Returns
Inherited from
fromValue()
ts
static fromValue(wkt, timestamp): TGeomPointInst;Defined in: core/types/basic/tgeompoint/TGeomPointInst.ts:31
Constructs a TGeomPointInst from a WKT point string and a timestamp.
Parameters
wkt
string
WKT geometry string (e.g. "POINT(1 2)").
timestamp
bigint
Microseconds since 2000-01-01 UTC. MEOS: tpointinst_make
Returns
TGeomPointInst