Skip to content

Releases: ropensci/stplanr

Styling

22 Oct 14:23
f9b6e6e
Compare
Choose a tag to compare

stplanr 0.2.6

NEW FEATURES

  • New function route_local()
  • New argument in line2route(): time_sleep waits a period between each route request

BUG FIXES

  • Issue with dl_stats19(), see #270
  • Make style consistent, see commit
  • Various small fixes to documentation and style

SpatiaLinesNetwork fix II

03 Jun 07:48
Compare
Choose a tag to compare

stplanr 0.2.5

NEW FEATURES

  • New function line_via() for identifying intermediary points on a transport network

BUG FIXES

  • Bug associated with SpatialLinesNetwork() fixed (see #249)

geo_length()

19 May 16:16
d7dbd4e
Compare
Choose a tag to compare

stplanr 0.2.4

NEW FEATURES

  • New function geo_length() returns numeric vector of line lengths from sp or sf objects.

DOCUMENTATION

  • ?route_graphhopper no longer mentions the depreciated 'bike2' profile - see #246
  • ?route_osrm mentions that the public API only routes for cars - see #246
  • Updated introducing-stplanr vignette to show new function and make more robust

SpatiaLinesNetwork fix

06 Mar 16:26
Compare
Choose a tag to compare

NEW FEATURES

  • stplanr now imports lwgeom, needed for sf::st_length(), used in SpatialLinesNetwork().
  • Plotting behaviour updated for sfNetwork objects: now only plots the geometry by default.
  • Improved documentation for SpatialLinesNetwork() and plot() for spatial networks.

BUG FIXES

  • Bug in sum_network_routes() fixed (see #240).

No Depends

20 Dec 07:29
6374f68
Compare
Choose a tag to compare

NEW FEATURES

  • In this release sp is demoted from a Depends to an Imports, meaning that all its functions will not be attached to your namespace (it will not be loaded) when you run library(stplanr), making it less tied to sp. This is a continuation of the work to support sf and will make it easier for the package to work with alternative representations of geographic data.

BUG FIXES

  • Bug in geo_select_aeq.sf() was fixed by Jakub Nowosad in pull #238
  • An issue with od_aggregate.sf() was fixed making it much faster

SimpleFeatureSupport

23 Nov 16:45
fd2da31
Compare
Choose a tag to compare

stplanr finally supports simple features!

NEW FEATURES

  • This is the largest release since the package was created, with dozens of changes to support simple features - see #198 for details.
  • Support for sf. The package now support the new spatial class system for most functions.
  • New function geo_bb() supercedes bb2poly(). The new function can return polygons, points and matrix objects determined by the output argument. It also allows bounding boxes to be extended in metres, and scaled in x and y dimensions.
  • geo_code() now uses nominatim by default to find locations on the maps.
  • New function od_coords() takes a wide range of input data types to return a consistent output representing OD data as a data frame of origin and destination coordinates. This is used behind the scenes to make other functions more modular.

WORK IN PROGRESS

Plans for the next release

  • New generic route() function for routing. This is more flexible and user-friendly than the existing line2route() and route_*() functions it enhances.
  • Updated function names to make using stplanr easier and more intuitive.

DepCull

12 Jul 21:48
Compare
Choose a tag to compare

Bug fix release reducing the number of dependencies.

stplanr 0.1.9

NEW FEATURES

  • Dependency cull: we have removed dependencies on foreach and doParallel
  • route_cyclestreet() now also called (correctly) route_cyclestreets()
  • New geo_code() function replaces dependency on RGoogleMaps

BUG FIXES

Fix my SpatialLinesNetwork!

02 Jun 20:14
Compare
Choose a tag to compare

stplanr 0.1.8

NEW FEATURES

  • New argument combinations added to sum_network_routes() so it runs quicker - see pull/177.
  • New examples added to sum_network_routes(), weightfield() and find_network_nodes() - see e.g. example(sum_network_routes) for details.
  • New dataset l_poly added.
  • stplanr now has a website! See ropensci.github.io/stplanr/.

BUG FIXES

  • Serious bug with SpatialLinesNetwork() fixed.
  • Depreciated _each() dplyr functions replaced with equivalent _at or _all functions. See here for more.

Aggregating ods

28 Dec 12:26
Compare
Choose a tag to compare

stplanr 0.1.7

NEW FEATURES

  • There is a new vignette! See vignettes/stplanr-paper.Rmd and vignette("stplanr-paper") for details.
  • The original introducing-stplanr vignette has been updated. It now provides a more basic introduction for people new to R for spatial and transport data.
  • line2route() has been refactored to improve error detection and allow n_processes arguments. Thanks @nikolai-b. See pull/151 for details.
  • line_match() function added, a wrapper around rgeos::gDistance(), to find similar routes.
  • RCurl and data.table dependencies have been removed
  • leaflet has been demoted from an import to a suggest. This should reduce install times.
  • New functions od_aggregate() and sp_aggregate() have been added, to enable OD data to be aggregated to new geographic levels.

BUG FIXES

  • #141 fixed: viaroute() works again.
  • #153 fixed: bidirectional = TRUE returns a different result in line_bearing() now.

FUTURE PLANS

  • A new branch that uses sf is being tested. We may eventually transition to using simple features classes instead of sp classes.

Generic Oneway Trip

11 Nov 06:04
Compare
Choose a tag to compare

stplanr 0.1.6

NEW FEATURES

  • onewayid() is now a generic function, meaning it can handle spatial and non-spatial data
  • New arguments provided for line2route() allow you to specify variables to join-by - also has updated and more sensible defaults
  • New function od_id_order() to put origin-destination ids in order, to identify 2 way duplicates (split out from onewayid())

BUG FIXES

  • See the issue tracker
  • Bug in route_cyclestreet() leading change_elev and av_incline being wrong now fixed
  • Bug making variable names with spaces in the id columns failed - now fixed #138