-
Notifications
You must be signed in to change notification settings - Fork 16
/
NEWS.md
357 lines (227 loc) · 10.3 KB
/
NEWS.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# v 0.2.14.00X
## 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`
---
# v 0.2.14
## Minor changes:
- Main parameter of `weight_railway` function renamed `sf_lines` -> `x` (for consistency with all other `weight_` functions).
- Default distances for all functions changed to geodesic distances calculated via geodist.
---
# v 0.2.13
## 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 (`|` -> `||`)
---
# v 0.2.12
## Minor changes:
- Bug fix for `dists_categorical(proportions_only = TRUE)` to ensure all edge
types are aggregated (final type was previously not aggregated).
---
# v 0.2.11
## Major changes:
- New `dodgr_dists_categorical` function + accompanying vignette
---
# v 0.2.9
## Major changes:
- `weight_streetnet` now includes turn restrictions when input data are
extracted with `dodgr_streetnet_sc` (#136 thanks to @edzer)
- Turn restrictions also added as additional column of
`weighting_profiles$penalties`
- `dodgr_streetnet_sc()` now extracts many additional features useful for
controlling access restrictions (see #159)
- `dodgr_centrality` has new `vert_wts` parameter to weight centrality
by user-specified weights (#162)
## Minor changes:
- Bug fix when submitting contracted graphs to dodgr_to_sf (#155 thanks to @agila5)
- Fix (internal) process_bbox function for vector inputs (#156 thanks to @agila5@)
---
# v 0.2.8
## Minor changes:
- Bug fix (#142) in `dodgr_flows_disperse()` thanks for @romainFr
- Fix `keep_cols` param in `weight_streetnet()`; #140 thanks to @agila5
- Return component vector as `integer` not `numeric`
---
# v 0.2.7
## Minor changes:
- UBSAN Bug fix
---
# v 0.2.6
## Major changes:
- Added new `dodgr_centrality` function, and associated helper functions.
- Added new `dodgr_flows_si` function
- Added new parameter `norm_sums` to `dodgr_flows_aggregate`
- `merge_directed_flows` renamed to `merge_directed_graph`, with added option
of specifying columns to merge.
- Added new `pairwise` parameter to `dodgr_distances`; see issue #127
- Added new function `dodgr_insert_vertex` to add new vertices to graph; see #40
- Removed "radix" heap option
## Minor changes:
- switch off examples that caused previous CRAN failures
- fix bug in `dodgr_dists` when number of from points >> number of to points
- fix bug in `weight_streetnet.sc` that prevented `keep_cols` from working
---
# v0.2.5
- bug fixes from previous versions
---
# v0.2.4
## Major changes:
- Remove benchmark vignette
## Minor changes:
- bug fixes in `dodgr_paths`, thanks to @agila5
---
# v0.2.1
## Major changes:
- Add `dodgr_isochrones`, `dodgr_isodistances`, and `dodgr_isoverts` functions
- Considerable speed-ups for `dodgr_flows_aggregate` and `dodgr_flows_disperse`
## Minor changes:
- `dodgr_flows_disperse` allows `k` to be a vector, with different coefficients
for each `from` point.
- Add "highway:pedestrian" to weighting profiles
- `weight_streetnet` for `sc` objects automatically adds component column
- bug fix in `weight_streetnet.sc(..., wt_profile = 1)`
- bug fix in `dodgr_full_cycles` for `SC` class objects
---
# v0.2.0
## Major changes:
- Lots of intermediate processes now executed and cached as background
processes (via `callr` package).
- new `dodgr_cache_off` function added to suppress primary caching, for cases
where immediate usage is critical.
- `dodgr_contract_graph` returns the contracted graph only, instead of former
version which return list of `graph` and `edge_map` (the `edge_map` is cached
and re-loaded when needed for graph uncontraction).
## Minor changes:
- 'turn_angle' parameter of `weight_streetnet` renamed to `turn_penalty`
- Test coverage now complete (100%)
* Update internal `hampi` data to remove factor columns
- Fix some bugs in max speed calculations for weight_streetnet
* Fix bug with polygonal bbox in dodgr_streetnet()
---
# 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
---
# 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
---
# v0.1.2
## 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_aggregate` to include
a non-OSM example from `stplanr::routes_fast` (issue #45).
---
# 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.frame`s, 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.
---
# v0.1.0
## 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.
---
# v0.0.3
Tidy C++ code that flagged errors on CRAN solaris machine. Nothing else.
---
# v0.0.2
## 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.
## Minor changes:
- `weight_streetnet` now accepts arbitrary `sf`-formatted networks via
specification of custom weighting profiles, along with highway type and ID
columns in data.frame.
- Distance matrices from `dodgr_dists` inherit the names of routing points
(`from` and `to` parameters).
---
# v0.0.1
Initial CRAN release.