get_points_from_input_data: Get the SpatialPoint from input data

Description Usage Arguments Value

View source: R/geospatial_data_loading.R

Description

Get the SpatialPoint from input data

Usage

1
2
3
4
get_points_from_input_data(
  input_data,
  .crs = sp::CRS("+proj=longlat +datum=WGS84")
)

Arguments

input_data

a data.frame with columns lon and lat

.crs

a sp::CRS, usually +proj=longlat +datum=WGS84

Value

a SpatialPoints object


hrvg/RiverML documentation built on Oct. 12, 2020, 10:40 a.m.