powered by
g_length() computes the length for LineString or MultiCurve objects. Undefined for all other geometry types (returns zero).
g_length()
LineString
MultiCurve
g_length(wkt)
Numeric scalar. Length of the geometry or 0.
0
Character. OGC WKT string for a simple feature geometry.
g_length("LINESTRING (0 0, 3 4)")
Run the code above in your browser using DataLab