sf_to_dodgr | R Documentation |
This function return a dodger object (as a dataframe) from a sf object. Is usefull for net_dist and net_path
sf_to_dodgr(net, id_col, wt_profile)
net |
The sf object |
id_col |
String character with the name of the column with the id of the network |
wt_profile |
a json object or custom weight profile (see dodgr package), default is 1 |
A dodgr object
## tm is an sf object which was cleaned by v.clean using GRASS in QGIS
sf_to_dodger(tm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.