luukvdmeer / sfnetworks

Tidy Geospatial Networks in R
https://luukvdmeer.github.io/sfnetworks/
Other
347 stars 20 forks source link

Allow to forward st_as_sf arguments to to_spatial_explicit_edges morpher #83

Closed luukvdmeer closed 3 years ago

luukvdmeer commented 3 years ago

The to_spatial_explicit_edges morpher now always draws straight lines between source and target nodes. But maybe the edges table already contains some information (like a wkt column) that could be forwarded to st_as_sf for creating geometries. For example, see #72

Allowing such st_as_sf parameters to be passed to to_spatial_explicit_edges and forward them directly to st_as_sf would bring more flexibility.

luukvdmeer commented 3 years ago

Implemented on develop

luukvdmeer commented 3 years ago

This is now part of the new version. See here for an example.