Takes a series of geographical points and converts them into a spatial (linestring) object representing the potential flows, or 'spatial interaction', between every combination of points.
points2flow(p)
| p | A spatial (point) object |
|---|
Other od:
dist_google(),
od2line(),
od2odf(),
od_aggregate_from(),
od_aggregate_to(),
od_coords2line(),
od_coords(),
od_dist(),
od_id,
od_oneway(),
od_to_odmatrix(),
odmatrix_to_od(),
points2odf()
flow <- points2flow(cents)#> Warning: CRS object has comment, which is lost in output#> Warning: Discarded datum Unknown based on WGS84 ellipsoid in CRS definition