Skip to content

Releases: UrbanAnalyst/dodgr

CRAN version 0.1.4

12 May 19:32
Compare
Choose a tag to compare

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 the osmdata package.
  • weight_streetnet now accepts SC format data from osmdata::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 single data.frame to list with additional parameters determining speeds and time penalties for dodgr_times function; former data.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(), and dodgr_flows() can no longer be used to automatically download street networks, thus former parameters wt_profile and expand have been removed; networks must be explicitly
    downloaded with dodgr_streetnet().

Minor changes:

  • Bug fix with dodgr_to_igraph to create proper weighted igraph
  • Add "footway" to weighting_profiles

CRAN version 0.1.3

21 Mar 11:00
Compare
Choose a tag to compare

v0.1.3

Major changes:

  • New functions dodgr_fundamental_cycles and dodgr_full_cycles
  • New function dodgr_sflines_to_poly to convert sf collections of LINESTRING object into corresponding enclosed POLYGON objects.
  • New function dodgr_to_sf creates full sf objects, extending dodgr_to_sfc
  • New function igraph_to_dodgr converts igraph objects into dodgr format
  • New function dodgr_uncontract_graph to convert from contracted back into original, uncontracted from, including any additional data appended on to contracted graph.

Minor changes:

  • Bug fix with vignette caused by updates to tinytex rendering of svg
  • Bug fix for dodgr_dists (heap = "set") with integer distances

CRAN version 0.1.2

14 Jan 08:44
Compare
Choose a tag to compare

Major changes:

  • New function dodgr_to_igraph
  • weight_streetnet is now a method, with implementations for objects of
    classes .sf and .sc.
  • New function weight_railway to weight a network for railway routing.
  • dodgr_dists implements Dijkstra paths with std::set sorting through new
    option dodgr_dists(..., heap = "set") (It's slower than others, but good for
    sake of completeness).

Minor changes:

  • Various modifications that should result in notable speed gains
  • dodgr_streetnet now accepts polygonal bbox argument, and uses
    osmdata::trim_osmdata to trim resultant network to within that polygon
    (issue #50).
  • Extended examples for weight_streetnet and dodgr_flows_aggregateto include a non-OSM example fromstplanr::routes_fast` (issue #45).

CRAN release v0.1.1

25 Oct 08:21
Compare
Choose a tag to compare

v0.1.1

Major changes:

  • Crucial fix of previous typo that made all dodgr_dist calculations wrong (Earth's radius is 6371, not 3671!) - thanks to @chrijo
  • weight_streetnet function now accepts data.frame objects defining wt_profile, enabling modification and direct re-submission of
    dodgr::weighting_profiles
  • weighting_profiles$value modified to 0-1 scores rather than previous percentage values.
  • weight_streetnet flags any highway types not present in nominated or submitted weighting profile.
  • dodgr_paths now has additional pairwise parameter to enable paths only between matched pairs of from and to points (so returning n paths rather than n^2), thanks to @mem48.
  • dodgr_to_sf deprecated to dodgr_to_sfc (#43)

Minor changes:

  • Added Malcolm Morgan (@mem48; bug-finder extraordinare) as contributor
  • Bug fix with dodgr_paths and simple data.frames, thanks to James Smith.
  • Bug fix of former improper handling of one-way edges, thanks to @chrijo.
  • match_pts_to_graph has additional connected parameter to allow points to be matched only to largest connected component.

Non-CRAN Release v0.1.0

23 Oct 12:29
Compare
Choose a tag to compare

Major changes:

  • New function dodgr_flowmap() plots maps of flows. Currently only writes .png files, because large networks can not be effectively plotted on graphic devices.
  • dodgr_flows() has option to routes flows from a set of source origins to all points in a network, attenuated by distance from those origins.
  • dodgr_to_sf() converts a spatially-explicit dodgr graph into Simple Features (sf) format.

Minor changes:

  • match_pts_to_graph() now accepts Simple Features (sf) collections of sfc_POINT objects to be matched.

Non-CRAN Release v0.0.6

23 Oct 12:27
Compare
Choose a tag to compare
Non-CRAN release v0.0.6

CRAN v0.0.3

30 Oct 21:12
Compare
Choose a tag to compare

Minor C++ fixes; no change to functionality

CRAN v0.0.2

27 Oct 20:57
Compare
Choose a tag to compare

Major changes:

  • New function, dodgr_paths, for returning explicit shortest path routes.
  • New function, dodgr_flows, for aggregting flows across a network from multiple origin and destination points.
  • New function, merge_directed_flows, to reduce aggregated directional flows to non-directional equivalent values useful for visualisation.