View source: R/geo_projected.R
geo_length | R Documentation |
Takes a line (represented in sf or sp classes) and returns a numeric value representing distance in meters.
geo_length(shp)
shp |
A spatial line object |
Other geo:
bbox_scale()
,
bind_sf()
,
geo_bb()
,
geo_bb_matrix()
,
geo_buffer()
,
geo_projected()
,
geo_select_aeq()
,
quadrant()
lib_versions <- sf::sf_extSoftVersion()
lib_versions
if (lib_versions[3] >= "6.3.1") {
geo_length(routes_fast_sf)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.