Releases: UrbanAnalyst/dodgr
Releases · UrbanAnalyst/dodgr
CRAN version 0.4.3
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 inweight_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
Minor changes
- Added Andrea Gilardi (@agila5) as contributor
weight_streetnetnow raises a warning (instead of an error) in case the inputsfobject has mixed geometry types instead of onlyLINESTRING. The function filters only the geometries havingLINESTRINGtype (#246, thanks to @agila5).- Pre-pend class structure of
dodgr_streetnetobjects todata.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
Minor changes
dodgr_flows_aggregate()now has apairwiseparameter, to enable flows to be aggregated only along paths connecting each pair offromandtopoints. 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
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_graphwith "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
Major changes:
- New
pairwiseparameter added tododgr_dists_categorical(#201) - New function:
dodgr_dists_nearest()(#203) - Updated
weight_streenet()function forwt_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
v0.2.18
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_verticesto 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
v 0.2.17 - max speed
Minor changes:
- Added
nocacheparameter tododgr_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
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_streetnetfunction now returns standard graphs even whenturn_penalty = TRUE; compound junctions are calculated within each function (#190).
Minor changes:
match points
Breaking changes:
match_pts_to_graph()renamed tomatch_pts_to_verts()- New
match_pts_to_graph()function matches to graph edges, using nearest perpendicular intersection (issue #103)
Major changes:
dodgr_pathspairwise calculation shifted to C++, thanks to @dcooley
Minor changes:
- Fix
dodgr_flowmapto work on bothsfandscstreetnets. - 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 fromcontract = FALSEtocontract = TRUE