Releases: ropensci/stplanr
Releases · ropensci/stplanr
Fix my route
stplanr 0.8.2
- Bug fixed related to the
route()
function: it silently failed whenpbapply
not installed. The package was promoted from Suggests to Imports (#460)
Grouping networks
- Thanks to the
styler
package, code instplanr
now adheres to a consistent style (using arrow<-
assignment despite the maintainer's default of equals=
assignment - many=
had been introduced accidentally!) - New function
rnet_group()
groups route network elements (#403) overline()
now convertsMULTILINESTRING
geometries toLINESTRINGS
automatically- Routing on the network using
sum_network_routes()
now returns a linestring for routes that start where they end (i.e. no travel) (#444) - Routing using
route_local()
fixed: thel
argument now works (#448) - New
route_osrm()
function (#449) rnet_breakup_vertices()
is now way faster, thanks to Andrea Gilardi and others (#416)rnet_group()
is now a generic function that works withsfNetwork
objects (#455)route_osrm()
provides easy access to multi-modal routing (#449)- Bug in
route()
function's calculation of bbox attributes fixed (#452)
line_breakup
Oxted 3 - CRAN tests pass
Oxted 2
stplanr 0.7.1
- Tweaks to the documentation and examples for CRAN tests
Oxted
stplanr 0.7.0
- Issue with
line2points()
on some set-ups fixed (#418) - Old
mapshape()
,line_match()
andgclip()
functions deprecated, maintained alternatives can now be found in other packages. sp
objects updated for latest version ofsp
(#364)sf
objects updated to support more recent CRS encoding (#393)- Deprecated functions including
od_aggregate()
,onewayid()
,gtfs2sldf()
, andod_radiation()
have been removed
route_google()
New features
- New interface to Google Directions API via
mapsapi
package (#410)
Fix geocompr
Slopes and routes
BUG FIXES
- Bug in
SpatialLinesNetwork()
fixed thanks to Andrea Gilardi (#394) - Updated documentation for finding shortest paths
- Check
start
andend
arguments in short path calculations are numeric dodgr
removed as Suggests until it's back on CRAN (#398)- Updates to
dplyr
code to prevent warnings when using the dev version (#395)
NEW FEATURES
- Improvements to
route()
allowing you to save a list of raw outputs and usedata.table
for faster performance if available - A fleet of new
route_rolling_*()
functions have been added:route_rolling_gradient()
calculates a rolling gradient from elevation and distance data at the segment levelroute_rolling_average()
calculates the rolling average of valuesroute_rolling_diff()
calculates the rolling difference between each value and the next
geo_toptail()
function now hassf
implementation (#390)- New
cl
argument inroute()
for parallel routing (#388) - New and updated datasets representing
od_data_sample
in different ways:od_data_lines
andod_data_routes
route_graphhopper()
deprecated (#389)- Old functions that use legacy
sp
anddplyr
code,sp_aggregate
andod_aggregate
, have been deprecated - New work-in-progress
route_slope*()
functions
Route() doc fixes
BUG FIXES
- Documentation fixes (#384)
- A bug affecting
route()
function calls whenpbapply
was not installed has been fixed (#386) oneway()
has been deprecated in favour of faster and easier-to-maintain functionod_oneway()
(also see the in-developmentod
package) (#387)- Various other changes have been made to accomodate the dev version of
dplyr
(#383)