Skip to content

Releases: UrbanAnalyst/dodgr

CRAN version 0.4.3

02 Sep 08:40

Choose a tag to compare

Major changes

  • All graphs are now constructed with distances calculated using the "cheap" measure of geodist::geodist() is maximal graph distances are < 100km, otherwise with "haversine". Distances (and therefore times) in graphs may differ from values calculated with previous versions. See #284; thanks to @leoniedu
  • New function added, dodgr_streetnet_geodesic(), to force edge distances in weight_streetnet() to use geodesic distances (more accurate, but slower calculations). See #284; thanks to @leoniedu
  • Documentation for all main distance, time, flows, and iso functions updated and extended to much better explain what functions actually do.

Minor changes

  • Fix bug in add_nodes_to_graph() to properly match all remaining graph columns; #293 thanks to @leoniedu
  • "geodist" package is now a hard dependency ("Imports" not "Suggests").
  • Add @leoniedu as package contributor (#282).
  • Fix updating of edge times in insert_one_edge; #278 thanks to @leoniedu
  • Fix add_nodes_to_graph() when graph has duplicated edges; #285 thanks to @leoniedu
  • dodgr_to_igraph() now retains "highway" column if present; #300 thanks to @RegularnaMatrica
  • Improve interpreting 'oneway' flags from #299
  • Fix bug in interpreting OSM turn restrictions (#365)

CRAN version 0.4.2

06 Mar 12:43
4bffc7f

Choose a tag to compare

Minor changes

  • Added Andrea Gilardi (@agila5) as contributor
  • weight_streetnet now raises a warning (instead of an error) in case the input sf object has mixed geometry types instead of only LINESTRING. The function filters only the geometries having LINESTRING type (#246, thanks to @agila5).
  • Pre-pend class structure of dodgr_streetnet objects to data.frame, rather than append; thanks to @agila5 (#244).
  • Fix bug in graph contraction that left duplicated edges (#236, thanks to @Robinlovelace).
  • Fix minor bug in de-duplication discovered via #236.
  • Update documentation for weight_streetnet; #245 thanks to @agila5
  • Update documentation for "from" and "to" parameters of dists and other fns; #254 thanks to @luukvdmeer
  • Fix bug in 'change_col_names'; #262 thanks to @leoniedu
  • Fix bug in 'match_pts_to_graph'; #266 thanks to @leoniedu

CRAN v0.4.1

18 Jul 10:44

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

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

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

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

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

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

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

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