stplanr 0.3.1 Unreleased

OTHER

  • Various improvements made to the stplanr-od vignette, thanks to Edward Leigh
  • URLs updated to link to stplanr’s new, official website: https://docs.ropensci.org/stplanr/

stplanr 0.3.0 2019-07-30

NEW FEATURES

stplanr 0.2.10 2019-05-18

  • Fix in documentation. See #311

stplanr 0.2.9 2019-05-10

NEW FEATURES

BUG FIXES

stplanr 0.2.8 2019-03-22

NEW FEATURES

BUG FIXES

stplanr 0.2.7 2019-01-07

NEW FEATURES

BUG FIXES

  • Fixed #272 by removing byvars argument of overline in preparation for overdue overhaul of overline function.

OTHER

  • No longer suggests tmap to reduce install times: install.packages() installs suggested packages by default

stplanr 0.2.6 2018-10-20

NEW FEATURES

BUG FIXES

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

stplanr 0.2.5 2018-06-02

NEW FEATURES

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

BUG FIXES

stplanr 0.2.4 2018-05-19

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

stplanr 0.2.3 2018-03-06

NEW FEATURES

BUG FIXES

stplanr 0.2.2 2017-12-19

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

stplanr 0.2.0 Unreleased

NEW FEATURES

  • This is the largest release since the package was created, with dozens of changes to support simple features - see https://github.com/ropensci/stplanr/pull/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.

stplanr 0.1.9 2017-07-12

NEW FEATURES

BUG FIXES

stplanr 0.1.8 2017-06-02

NEW FEATURES

BUG FIXES

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

stplanr 0.1.7 2016-12-23

NEW FEATURES

BUG FIXES

FUTURE PLANS

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

stplanr 0.1.6 2016-11-11

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

stplanr 0.1.5

NEW FEATURES

  • New argument destinations added to od2line(). See example(od2line) for an example.
  • New dataset destinations for showing how OD matrix with destinations can be converted to spatial data
  • New argument list_output allows the route information to be saved as a list, allowing save_raw = TRUE (which does not return a Spatial object) to be passed to the route_ function.
  • tmap dependency removed for faster installs

BUG FIXES

stplanr 0.1.4

NEW FEATURES

  • New function reproject() is a simple wrapper around spTransform() that uses crs_select_aeq() to convert a spatial object in geographic (lat/lon) coordinates into on with projected coordinates, with units of 1 m. This is useful for various spatial operations, such as finding the length and area of an object.

  • Implement gprojected(), a function for performing GIS operations on a temporary, projected, version of spatial objects.

  • Addition of line_bearing() to return the bearing of lines based on start and end points.

  • Addition of angle_diff() for finding the angular difference between lines: are they roughly parallel or perpendicular?

BUG FIXES

  • line2df() now works on lines with multiple vertices and is faster.

  • Fixes in the examples used to illustrate how od_dist() works.

stplanr 0.1.3

NEW FEATURES

  • Update to OSRM functions to support API v5.

  • New parameter byvars in the overline() function, to allow disaggregation of results by a grouping variable (see example(overline)).

  • Faster implementation of od2line(): od2line2(). Plan is to replace the original if no issues are found with new implementation.

  • New function od2odf() which converts OD data into a dataframe of origins and destinations (feeds od2line2() but also useful as self-standing function).

  • New argument new_proj in buff_geo() allows the results to be exported to any coordinate reference system (CRS).

  • New function gprojected() generalises concept of buff_geo(), building on crs_select_aeq() to allow any GIS query to be conducted on a temporary projected version of spatial objects with geographical CRSs.

  • New function od_dist() can quickly calculate Euclidean distances of OD pairs without converting to spatial objects.

BUG FIXES

  • Bug fix in onewayid() so it captures all lines.

  • Various improvements to documentation and code.

stplanr 0.1.2

NEW FEATURES

  • Interface to the Google Distance Matrix API with dist_google.

  • New transport planning API added, with route_transportapi_public (for testing).

  • Update to line2route, allowing it to accept different routing funtions via the new argument route_fun (for testing - tested with route_fun = route_cyclestreet).

  • New functions for creating origin-destination data frames (point2odf) and SpatialLinesDataFrames (points2flow).

  • Addition of n_vertices and is_linepoint for identifying the number of vertices in spatial objects and whether the ‘line’ is really a point.

BUG FIXES

  • line2route refactored, with 10 fold speed increases on large (1000+) batches of lines.

stplanr 0.1.0

NEW FEATURES

  • Addition of new class definition SpatialLinesNetwork, methods for plot and summary and functions calc_network_routes and find_network_nodes allowing fast route calculations via igraph and other network analysis functions.

  • Functions for removing beginning and end of lines: toptail and toptailgs. Helper functions buff_geo, crs_select_aeq and line2points added.

  • Functionality for reading in the UK’s stats19 data: read_stats19_* functions download, unzip and re-categorise the data.

  • read_table functions added for reading Australian OD data.

  • decode_gl added to decode Google polylines and other functions for querying and reading data from OSRM services.

  • gtfs2sldf added to import GTFS routes as SpatialLinesDataFrames.

stplanr 0.0.2

  • Published on CRAN