Description Usage Arguments Value
View source: R/geospatial_data_loading.R
Extracts mid-points from streamlines
1 2 3 4 5 | get_target_points(
target_streamlines,
.crs = sp::CRS("+proj=longlat +datum=WGS84"),
as.df = TRUE
)
|
target_streamlines |
a SpatialLinesDataFrame |
.crs |
a reference coordinate system to project the points to |
as.df |
logical, default to |
a data.frame
with columns Name
, long
and lat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.