profile_line: Combine Points to a Line

View source: R/profile_points.R

profile_lineR Documentation

Combine Points to a Line

Description

Combine Points to a Line

Usage

profile_line(x)

Arguments

x

sf point object

Value

sf line object

See Also

profile_points()

Examples

p1 <- data.frame(lon = -90.8, lat = 48.6) |>
  sf::st_as_sf(coords = c("lon", "lat"), crs = "WGS84")
profile_points(p1,
  profile.azimuth = 135, profile.length = 10000,
  crs = sf::st_crs("EPSG:26915")
) |>
  profile_line()

geoprofiler documentation built on April 11, 2025, 5:41 p.m.