
Shortest distance between pairs of geometries
Source:R/trigonometry_degrees.R
shortest_distance_to_line.Rd
The shortest Great Circle distance between pairs of geometries
Arguments
- x, line
objects of class
sfg
,sfc
orsf
- ellipsoidal
Logical. Whether the distance is calculated using spherical distances (
sf::st_distance()
) or ellipsoidal distances (lwgeom::st_geod_distance()
).