Skip to content

Releases: UrbanAnalyst/dodgr

CRAN v0.4.1

18 Jul 10:44
Compare
Choose a tag to compare

Minor changes

  • dodgr_flows_aggregate() now has a pairwise parameter, to enable flows to be aggregated only along paths connecting each pair of from and to points. Thanks to @chinhqho via #229
  • Update igraph::get.edgelist -> as_edgelist (#229) to suppress warnings from igraph conversion functions.
  • Minor tweak to bundled src/concaveman to remove CRAN warning from new gcc 14.x (#235)

CRAN release 0.4.0

27 May 09:36
Compare
Choose a tag to compare

Major changes:

  • Transfer repository from 'atfutures/dodgr' -> 'urbananalyst/dodgr'
  • Added new vignette on isodists and isochrone functions (#255)
  • Implemented new 'concavity' parameter for isodistance, isochrone fns (#223, thanks to @pasipasi123).

Minor changes:

  • Fix bug in add_nodes_to_graph with "sc" networks (#217, thanks to @diegoteca)
  • Fix bug in Tobler cost function for effect of slopes on walking times (#219, thanks to @xtimbeau).

CRAN release 0.2.21

02 Jun 12:34
Compare
Choose a tag to compare

Major changes:

  • New pairwise parameter added to dodgr_dists_categorical (#201)
  • New function: dodgr_dists_nearest() (#203)
  • Updated weight_streenet() function for wt_profile="bicycle" to return
    many more bicycle-relevant columns (#207).
  • Fix major bug in categorical dists routines that gave wrong values (#201; thanks to @xiaofanliang)
  • Fix bug in add_nodes_to_graph, #103
  • Add 2 new parameters to add_nodes_to_graph, "dist_tol" and "intersections_only" (#103)

Minor changes:

  • Fix bugs that issued warnings in weight_streetnet.sc if no "lanes" or "junction" columns present.

v0.2.19

13 Jan 15:36
Compare
Choose a tag to compare
  • Changes to align with new dplyr version (#198, thanks to @DavisVaughan)
  • Update broken URL in "times" vignette

v0.2.18

08 Dec 08:51
Compare
Choose a tag to compare

Minor changes:

  • Minor bug fix in matching to/from points for routing.
  • Minor bug fix with caching contracted graphs
  • Minor bug fix matching OSM max speed values for motorcar routing.
  • Minor bug fix implements additional check in dodgr_vertices to re-calculate if cached vertices don't match current graph.
  • Allow contra-flow when weighting bicycle networks; otherwise networks can end up unroutable.
  • Bug fix in remove_duplicated_edges() for SC-class networks.

max speed

05 Nov 11:13
Compare
Choose a tag to compare

v 0.2.17 - max speed

Minor changes:

  • Added nocache parameter to dodgr_contract_graph, to enable forced re-calculation of contracted graphs (#194)
  • Fix bug in graph contraction which prevented in picking up additional data columns (#194; thanks to @sriramab)
  • Fix bug in caching mechanism which stopped graph conversion routines (like dodgr_to_sf) from carrying across extra columns (#194; thanks to @sriramab)
  • Fix bug in distances when from or to default to all vertices
  • Fix weighting networks for motorcars to adhere to OSM "maxspeed" values where those are given, rather than profile values (#193)

compound junctions

20 Sep 15:09
Compare
Choose a tag to compare

Major changes:

  • Additional "distances" parameter added to match_pts_to_graph() to return geodesic distance to point of edge intersection.
  • Fixed major bug in centrality calculations on graphs with duplicated edges (#186).
  • Added new vignette with instructions on parallel thread control
  • New function, dodgr_deduplicate_graph() to reduce duplicated edges and insert minimal distances/times (#187)
  • weight_streetnet function now returns standard graphs even when turn_penalty = TRUE; compound junctions are calculated within each function (#190).

Minor changes:

  • Walking cost function in networks with elevation improved (#124)
  • Fixed weight_streetnet.sc to respect "bicycle" and "foot" tags for those weighting profiles (#189)

match points

22 Aug 12:56
Compare
Choose a tag to compare

Breaking changes:

  • match_pts_to_graph() renamed to match_pts_to_verts()
  • New match_pts_to_graph() function matches to graph edges, using nearest perpendicular intersection (issue #103)

Major changes:

  • dodgr_paths pairwise calculation shifted to C++, thanks to @dcooley

Minor changes:

  • Fix dodgr_flowmap to work on both sf and sc streetnets.
  • Reformat code using https://github.com/ropensci-review-tools/spaceout
  • Minor bug fix matching from/to args of dodgr_flows_aggregate()
  • Bug fix when submitting contracted graphs to flow fns
  • Change default value in all dodgr_flows_ functions from contract = FALSE to contract = TRUE

geodesic

09 Jun 07:48
Compare
Choose a tag to compare

Minor changes:

  • Default distances for all functions changed to geodesic distances calculated via geodist.
  • Main parameter of weight_railway function renamed sf_lines -> x (for consistency with all other weight_ functions).

roundabouts

04 Apr 09:29
Compare
Choose a tag to compare

v0.2.13: roundabouts

Major changes:

  • New save_dodgr_streetnet and load_dodgr_streetnet functions; thanks to idea from @FlxPo
  • Edge maps used to uncontract graphs now store edges in original order, enabling complex edge sequences such as polygons to be reconstructed (#173).
  • Add "Imports: fs" to ensure cache paths work on all (ie windows) machines (#163)
  • Implement directional travel in roundabouts on weight_streetnet.sc, thanks to @deanmarchiori (#175).

Minor changes:

  • Add example code for dodgr_dists_categorical
  • Slightly extend categorical routing vignette
  • fix caching bug in dodgr_centrality (#138), thanks to @mem48
  • Fix bug with bbox in dodgr_streetnet, thanks to @LeshunXu (#174)
  • Fix bug in src/graph-contract.cpp that led to CRAN warning (| -> ||)