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