ST_WGS84_DISTANCE | Qlik Cloud Help
Skip to main content Skip to complementary content

ST_WGS84_DISTANCE

Last updated: 9/21/2026

Calculates the distance between two WKT formatted points in meters in the WGS84 projection.

Syntax

ST_WGS84_DISTANCE(first, second)

Arguments

Name Type Description Default Value
first string A WKT formatted Longitude Latitude point
second string A WKT formatted Longitude Latitude point

Returns

Returns a double value.


Examples

first second Output
"POINT (152.352298 -24.875975)" "POINT (151.960336 -24.993289)" 41667.7298657432

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!