Skip to content

Releases: ropensci/stplanr

stplanr 0.8.3

22 Jul 05:52

Choose a tag to compare

  • Outputs of line_via() now have correct CRS
  • calc_catchment() have been deprecated because the generate warnings
  • Minor fixes and improvements in the package's documentation

Fix my route

06 Apr 19:38

Choose a tag to compare

stplanr 0.8.2

  • Bug fixed related to the route() function: it silently failed when pbapply not installed. The package was promoted from Suggests to Imports (#460)

Grouping networks

08 Jan 08:25

Choose a tag to compare

  • Thanks to the styler package, code in stplanr 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 converts MULTILINESTRING geometries to LINESTRINGS 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: the l 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 with sfNetwork 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

28 Oct 09:55

Choose a tag to compare

  • New function line_breakup() breaks-up lines (#434)
  • Minor documentation fixes, including (#431)

Oxted 3 - CRAN tests pass

06 Sep 16:41

Choose a tag to compare

stplanr 0.7.2

  • Support sf objects for toptail_buff()
  • Updated examples for tests and README to enable tests to pass on legacy versions of PROJ (#423)
  • Reduce vulnerability to upcoming upstream changes (#426)

Oxted 2

28 Aug 18:08

Choose a tag to compare

stplanr 0.7.1

  • Tweaks to the documentation and examples for CRAN tests

Oxted

27 Aug 16:26

Choose a tag to compare

stplanr 0.7.0

  • Issue with line2points() on some set-ups fixed (#418)
  • Old mapshape(), line_match() and gclip() functions deprecated, maintained alternatives can now be found in other packages.
  • sp objects updated for latest version of sp (#364)
  • sf objects updated to support more recent CRS encoding (#393)
  • Deprecated functions including od_aggregate(), onewayid(), gtfs2sldf(), and od_radiation() have been removed

route_google()

08 Jul 09:17

Choose a tag to compare

New features

  • New interface to Google Directions API via mapsapi package (#410)

Fix geocompr

23 Jun 09:38

Choose a tag to compare

stplanr 0.6.1

BUG FIXES

  • route() failed when data.table not installed (#408)

Slopes and routes

04 May 12:05

Choose a tag to compare

BUG FIXES

  • Bug in SpatialLinesNetwork() fixed thanks to Andrea Gilardi (#394)
  • Updated documentation for finding shortest paths
  • Check start and end 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 use data.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 level
    • route_rolling_average() calculates the rolling average of values
    • route_rolling_diff() calculates the rolling difference between each value and the next
  • geo_toptail() function now has sf implementation (#390)
  • New cl argument in route() for parallel routing (#388)
  • New and updated datasets representing od_data_sample in different ways: od_data_lines and od_data_routes
  • route_graphhopper() deprecated (#389)
  • Old functions that use legacy sp and dplyr code, sp_aggregate and od_aggregate, have been deprecated
  • New work-in-progress route_slope*() functions