get_target_points.RdExtracts mid-points from streamlines
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