g_length | R Documentation |
g_length()
computes the length for LineString
or MultiCurve
objects.
Undefined for all other geometry types (returns zero).
g_length(wkt)
wkt |
Character. OGC WKT string for a simple feature geometry. |
Numeric scalar. Length of the geometry or 0
.
g_length("LINESTRING (0 0, 3 4)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.