CRAN version 0.1.4
v0.1.4
Major changes:
- New vignette on street networks and time-based routing
weight_streetnet
function now returns edge times for all Open Street Map networks extracted with theosmdata
package.- weight_streetnet now accepts
SC
format data fromosmdata::osmdata_sc()
- New
dodgr_times
function to calculate journey times, including differential speeds and penalties for intersections and traffic lights. dodgr::weighting_profiles
data changed from singledata.frame
to list with additional parameters determining speeds and time penalties fordodgr_times
function; formerdata.frame
is now
dodgr::weighting_profiles$weighting_profiles
.- New function
write_dodgr_wt_profile
writes full profile to local.json file for editing and subsequent use via
weight_streetnet(wt_profile_file=<local_file_name.json>)`. dodgr_dists()
,dodgr_paths()
, anddodgr_flows()
can no longer be used to automatically download street networks, thus former parameterswt_profile
andexpand
have been removed; networks must be explicitly
downloaded withdodgr_streetnet()
.
Minor changes:
- Bug fix with dodgr_to_igraph to create proper weighted igraph
- Add "footway" to weighting_profiles