Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/ChangeLog
Parent Directory
|
Revision Log
Revision 574 -
(show annotations)
(download)
Wed Dec 29 10:11:08 2010 UTC (14 years, 2 months ago) by amb
File size: 45212 byte(s)
Wed Dec 29 10:11:08 2010 UTC (14 years, 2 months ago) by amb
File size: 45212 byte(s)
Added the uncontrolled (not auto-generated) files from routino-1.3.
1 | 2010-01-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
2 | |
3 | Version 1.3 released |
4 | |
5 | 2010-01-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
6 | |
7 | * doc/NEWS.txt: Update to latest news. |
8 | |
9 | 2010-01-18 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
10 | |
11 | * doc/USAGE.txt, doc/TAGGING.txt, doc/INSTALL.txt: |
12 | Updated documentation. |
13 | |
14 | 2010-01-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
15 | |
16 | * src/router.c, src/functions.h: |
17 | Change the test output formats to add turn, node type and bearing information. |
18 | |
19 | 2010-01-13 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
20 | |
21 | * src/output.c: |
22 | Change the test output formats to add turn, node type and bearing information. |
23 | |
24 | 2009-12-16 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
25 | |
26 | * src/router.c: |
27 | Added an option to use only nodes and not interpolate a point into a segment. |
28 | |
29 | 2009-12-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
30 | |
31 | * src/osmparser.c, src/profiles.c, src/types.h, src/ways.c: |
32 | Added wheelchair as type of transport. |
33 | |
34 | 2009-12-13 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
35 | |
36 | * src/osmparser.c, src/profiles.c, src/types.h, src/ways.c: |
37 | Add bridge and tunnel to highway properties. |
38 | |
39 | 2009-12-12 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
40 | |
41 | * src/Makefile: |
42 | Ignore the error if executables cannot be copied after compiling. |
43 | |
44 | * src/functions.h, src/nodesx.c, src/segmentsx.c, src/sorting.c, src/waysx.c: |
45 | Add some FILESORT_* #defines and use them. |
46 | |
47 | 2009-12-11 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
48 | |
49 | * src/functions.h, src/nodesx.c, src/planetsplitter.c, src/segmentsx.c, src/sorting.c, |
50 | src/waysx.c, src/waysx.h: |
51 | Added a new function to sort variable length data - simplifies the compacting of |
52 | ways, reduces memory usage potentially required for it and simplifies the code. |
53 | |
54 | 2009-12-10 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
55 | |
56 | * src/waysx.c: |
57 | Write out the list of ways without memory mapping anything. |
58 | |
59 | 2009-11-27 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
60 | |
61 | * src/osmparser.c, src/profiles.c, src/types.h, src/ways.c: |
62 | Add in "multilane" as a new highway property. |
63 | |
64 | 2009-11-25 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
65 | |
66 | * src/filedumper.c, src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/profiles.h, |
67 | src/router.c, src/ways.h, src/waysx.c, src/waysx.h: |
68 | Store the selected options when parsing (planetsplitter) and display them in the |
69 | statistics (filedumper) and check them when routing (router). |
70 | |
71 | 2009-11-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
72 | |
73 | * src/osmparser.c, src/output.c, src/profiles.c, src/types.h, src/ways.c: |
74 | Add in "steps" as a new highway type. |
75 | |
76 | 2009-11-19 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
77 | |
78 | * src/optimiser.c, src/router.c: |
79 | Made the verbose output consistent between different places. |
80 | |
81 | 2009-11-18 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
82 | |
83 | * src/router.c: Fix bug with previous segment-splitting routing. |
84 | |
85 | 2009-11-14 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
86 | |
87 | * src/optimiser.c, src/output.c, src/router.c, src/segments.h, src/functions.h, src/nodes.c, |
88 | src/nodes.h: |
89 | If a selected waypoint is not very close to an existing node then insert a fake |
90 | node in the segment that comes closest and use that instead. |
91 | |
92 | 2009-11-13 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
93 | |
94 | * src/optimiser.c, src/osmparser.c, src/queue.c, src/results.c, src/results.h, src/types.h: |
95 | Added in some more constants with the value ~0. |
96 | |
97 | 2009-11-06 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
98 | |
99 | * src/filedumper.c: |
100 | Check the values for the --node=, --segment= and --way= options. |
101 | |
102 | 2009-11-03 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
103 | |
104 | * src/output.c, src/planetsplitter.c, src/profiles.c, src/profiles.h, src/router.c, |
105 | src/types.h, src/ways.c: |
106 | Rename Way_Unknown to Way_Count to make more sense and match the properties. |
107 | |
108 | 2009-11-02 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
109 | |
110 | * src/osmparser.c: Allow the tag "paved" as well as "surface=paved". |
111 | |
112 | * src/filedumper.c, src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/profiles.c, |
113 | src/profiles.h, src/router.c, src/types.h, src/ways.c, src/ways.h: |
114 | Added the ability to set routing preferences using highway properties. |
115 | Initially the only choice is either paved or unpaved but the code has been |
116 | updated to allow any number of properties to be added. |
117 | |
118 | 2009-10-27 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
119 | |
120 | * src/osmparser.c: |
121 | Handle the "designation=..." tag for bridleway, byway and footpath. (Also |
122 | change to using a macro for testing if access is allowed and now allow |
123 | "destination"). |
124 | |
125 | * src/osmparser.c, src/profiles.c, src/types.h, src/ways.c, src/ways.h: |
126 | Added Moped to the list of transports (and incidentally increased the transport |
127 | data type to 16 bits and re-ordered the Way data-type in response). |
128 | |
129 | 2009-10-26 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
130 | |
131 | * src/profiles.c: |
132 | Ensure that horses and bicycles have a default speed on trunk even though they |
133 | have a default preference not to use it. |
134 | |
135 | * src/osmparser.c, src/profiles.c, src/types.h, src/ways.c: |
136 | Re-ordered the types so that Horse comes before Bicycle. |
137 | |
138 | * src/osmparser.c, src/output.c, src/profiles.c, src/types.h, src/ways.c: |
139 | Remove the Bridleway and Footway highway types and use the Path type instead |
140 | (also re-ordered the types so that Cycleway comes before Path). |
141 | |
142 | * src/profiles.c: Remove unneeded spaces at the end of the output. |
143 | |
144 | 2009-10-25 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
145 | |
146 | * src/output.c: |
147 | Fix bug in code that determines waypoints for abbreviated output. |
148 | |
149 | 2009-10-24 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
150 | |
151 | * src/functions.h, src/optimiser.c, src/router.c: |
152 | Fix missing segments in output if start and finish points are found by the start |
153 | search. |
154 | |
155 | 2009-10-22 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
156 | |
157 | * src/files.c, src/nodesx.c, src/segmentsx.c, src/sorting.c, src/superx.c, src/waysx.c: |
158 | Added some missing comments and corrected some existing ones. |
159 | |
160 | 2009-10-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
161 | |
162 | Version 1.2 released |
163 | |
164 | 2009-10-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
165 | |
166 | * doc/README.txt, doc/USAGE.txt, doc/NEWS.txt: Updated for version 1.2. |
167 | |
168 | 2009-10-20 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
169 | |
170 | * src/Makefile: Add sorting.o to the Makefile. |
171 | |
172 | 2009-10-12 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
173 | |
174 | * src/waysx.c: When sorting we cannot have NULL pointers now. |
175 | |
176 | * src/nodesx.c, src/segmentsx.c, src/waysx.c: |
177 | Re-order the functions in the file into a more logical order. |
178 | No functional changes. |
179 | |
180 | * src/nodesx.c, src/planetsplitter.c, src/segmentsx.c, src/sorting.c, src/waysx.c: |
181 | Rename the tmpdirname variable. |
182 | |
183 | 2009-10-10 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
184 | |
185 | * src/nodesx.c, src/osmparser.c, src/segmentsx.c, src/sorting.c, src/waysx.c: |
186 | Corrections after running with valgrind. |
187 | |
188 | * src/planetsplitter.c: Fix early termination test. |
189 | |
190 | * src/nodesx.c, src/nodesx.h, src/segmentsx.c: |
191 | Remove the nodesx->gdata index. |
192 | |
193 | 2009-10-09 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
194 | |
195 | * src/nodesx.c, src/segmentsx.c, src/typesx.h, src/waysx.c, src/waysx.h: |
196 | Free the nodesx->super array and the segmentsx->firstnode array when finished |
197 | with them. Remove wayx->cid and overwrite wayx->id instead. Overwrite |
198 | nodex[i]->id=i for later geographically sorted use. |
199 | |
200 | 2009-10-08 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
201 | |
202 | * src/nodesx.c, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, src/superx.c: |
203 | Replace node, segment and way indexes with a single index for a set of segments |
204 | containing the location of the first segment for each node. |
205 | |
206 | * src/nodesx.h: Fix comment. |
207 | |
208 | 2009-10-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
209 | |
210 | * src/osmparser.c, src/segmentsx.c, src/superx.c: |
211 | AppendSegment adds a single segment and not a pair. |
212 | |
213 | * src/waysx.c: Use heapsort() instead of qsort(). |
214 | |
215 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, |
216 | src/superx.c, src/waysx.c: |
217 | Go back to the version 1.1 method of having each segment listed twice. This |
218 | simplifies the lookup of first/next segments at no in-RAM index cost and now |
219 | that slim mode has sorting of file contents the balance has tipped back. |
220 | |
221 | 2009-10-04 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
222 | |
223 | * src/functions.h, src/sorting.c: |
224 | Change the sort function to allow the indexing callback to veto the write. |
225 | |
226 | * src/nodesx.c: Remove the duplicates when sorting. |
227 | |
228 | * src/waysx.c: |
229 | Sort the ways using the same method as the nodes. Also remove the duplicates. |
230 | |
231 | * src/nodesx.c: |
232 | Use the new sort functions to allow sorting the data in the file without needing |
233 | to read (or mmap) the whole file into RAM at the same time. |
234 | |
235 | * src/functions.h: Add some functions to perform sorting. |
236 | |
237 | * src/sorting.c: New file. |
238 | |
239 | * src/queue.c: Fix bug with binary heap sort. |
240 | |
241 | 2009-09-25 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
242 | |
243 | * src/queue.c: Add comments describing the algorithm used. |
244 | |
245 | 2009-09-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
246 | |
247 | * src/nodesx.c, src/waysx.c: |
248 | Simplify the de-duplication when sorting and update some comments. |
249 | |
250 | 2009-09-22 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
251 | |
252 | * src/nodesx.c, src/nodesx.h: |
253 | Remove a leftover from the last change on these files. |
254 | |
255 | * src/segmentsx.c: Improve the super-segment de-duplication. |
256 | |
257 | 2009-09-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
258 | |
259 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c: |
260 | Remove the non-highway nodes without re-sorting the whole list again. |
261 | |
262 | 2009-09-17 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
263 | |
264 | * src/osmparser.c, src/planetsplitter.c, src/segmentsx.c, src/superx.c, src/waysx.c, |
265 | src/waysx.h: |
266 | Added the slim mode to Ways as well. |
267 | |
268 | * src/ways.h: Add padding to Ways structure to allow it to be zeroed. |
269 | |
270 | * src/nodesx.c: Add some comments when closing and re-opening files. |
271 | |
272 | * src/files.c, src/functions.h: |
273 | The WriteFile function now has a const parameter. |
274 | |
275 | 2009-09-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
276 | |
277 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c: |
278 | Some bug fixes and some missing unmap function calls. |
279 | |
280 | 2009-09-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
281 | |
282 | * src/segmentsx.h, src/superx.c, src/nodesx.c, src/nodesx.h, src/segmentsx.c: |
283 | Fixed slim mode for segments and nodes (slim now means mapping only one file |
284 | into RAM at a time and none when creating the final output). |
285 | |
286 | 2009-09-06 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
287 | |
288 | * src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, src/superx.c, |
289 | src/superx.h, src/nodesx.c: |
290 | Slim version of segments code (still very slow and only works on simple cases). |
291 | |
292 | * src/files.c, src/functions.h: |
293 | Remove the delete option from UnmapFile() and make it return NULL. |
294 | |
295 | * src/filedumper.c: Allow dumping all nodes, segments or ways. |
296 | |
297 | 2009-09-05 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
298 | |
299 | * src/nodesx.c: Don't re-sort unnecessarily. |
300 | |
301 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/superx.c: |
302 | Improve slim mode for nodes so that no data is not loaded into RAM at all. |
303 | |
304 | * src/files.c, src/functions.h: Add some more file functions. |
305 | |
306 | 2009-09-03 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
307 | |
308 | * src/nodesx.c, src/files.c, src/functions.h: |
309 | Remove extra argument from MapFile function. |
310 | |
311 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/superx.c: |
312 | Added slim mode (--slim) to planetsplitter for nodes only. |
313 | |
314 | * src/files.c, src/functions.h: |
315 | Changes to mapping and unmapping files for slim mode. |
316 | |
317 | 2009-08-25 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
318 | |
319 | * src/planetsplitter.c: Revert the order that the functions are called. |
320 | |
321 | * src/nodesx.c: Fix for assert statement. |
322 | |
323 | * src/files.c: Bug fix for mmap(). |
324 | |
325 | 2009-08-20 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
326 | |
327 | * src/osmparser.c: Fix bug with memory allocation. |
328 | |
329 | 2009-08-19 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
330 | |
331 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, |
332 | src/superx.c, src/waysx.c, src/waysx.h: |
333 | Remove "sorted" parameter in data structure and change assert statements. |
334 | |
335 | 2009-08-17 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
336 | |
337 | * src/router.c: |
338 | Increase to 99 the number of waypoints that can be specified. |
339 | |
340 | 2009-08-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
341 | |
342 | * src/queue.c: Fix comment. |
343 | |
344 | * src/Makefile: |
345 | Tidy the compilation options to make it easier to turn them on and off. |
346 | |
347 | * src/router.c: |
348 | Remove the --all, --super and --no-output command line options. |
349 | Handle the renamed routing functions. |
350 | |
351 | * src/functions.h, src/optimiser.c: |
352 | Rename the routing functions and make FindRoute only find routes with no |
353 | super-nodes in them. |
354 | |
355 | * src/queue.c: |
356 | When popping from queue make sure that place in queue is cleared. |
357 | |
358 | * src/optimiser.c, src/queue.c, src/results.c, src/results.h, src/superx.c: |
359 | Optimise the priority queue used for routing. |
360 | |
361 | * src/filedumper.c: Fix dumping nodes when they are super-nodes. |
362 | |
363 | 2009-07-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
364 | |
365 | * src/Makefile, src/optimiser.c, src/results.c, src/results.h, src/superx.c: |
366 | Split off queue functions into a separate file. |
367 | |
368 | * src/queue.c: New file. |
369 | |
370 | 2009-07-19 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
371 | |
372 | * src/nodesx.c, src/segments.h, src/segmentsx.c, src/ways.h, src/waysx.c, src/filedumper.c, |
373 | src/nodes.h: |
374 | Include the number of super-nodes, super-segments etc in the database as useful |
375 | information to put in the statistics output. |
376 | |
377 | * src/superx.c: Fix incorrect progress indicator message. |
378 | |
379 | * src/waysx.c: Fix problem with memory reallocation. |
380 | |
381 | * src/nodesx.c, src/osmparser.c, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, |
382 | src/superx.c: |
383 | Store only one copy of each segment but index once for each direction. |
384 | |
385 | 2009-07-12 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
386 | |
387 | * src/functionsx.h, src/nodesx.c, src/nodesx.h, src/osmparser.c, src/output.c, |
388 | src/planetsplitter.c, src/profiles.c, src/results.c, src/segments.c, src/segmentsx.c, |
389 | src/segmentsx.h, src/superx.c, src/superx.h, src/ways.h, src/waysx.c, src/waysx.h: |
390 | Tidy up and fix comments and include files. |
391 | |
392 | * src/osmparser.c, src/planetsplitter.c, src/router.c, src/segmentsx.c, src/superx.c, |
393 | src/waysx.c, src/filedumper.c, src/nodesx.c, src/optimiser.c: |
394 | Check all print statements and made them more consistent and/or accurate. |
395 | |
396 | 2009-07-11 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
397 | |
398 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/waysx.c, |
399 | src/waysx.h: |
400 | Free memory at the end of planetsplitter (to aid finding potential leaks |
401 | earlier). |
402 | |
403 | 2009-07-09 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
404 | |
405 | * src/segmentsx.c: Free memory correctly (really). |
406 | |
407 | * src/planetsplitter.c, src/waysx.c, src/waysx.h: |
408 | Separate the sorting of Ways from compacting of Ways. |
409 | |
410 | * src/nodes.h, src/nodesx.c, src/nodesx.h, src/segmentsx.c, src/visualiser.c, |
411 | src/filedumper.c, src/nodes.c: |
412 | Rename structure members after recent changes. |
413 | |
414 | * src/segmentsx.c: Free memory correctly. |
415 | |
416 | * src/types.h, src/segmentsx.c: Fix duplicate checking. |
417 | |
418 | * src/planetsplitter.c: Ensure that variable is reset before using it. |
419 | |
420 | * src/types.h, src/visualiser.c, src/visualiser.h, src/filedumper.c, src/nodes.c, |
421 | src/nodes.h, src/nodesx.c, src/nodesx.h, src/optimiser.c, src/osmparser.c, src/output.c, |
422 | src/router.c, src/segments.c, src/segments.h, src/segmentsx.c: |
423 | Change from float to double for latitude and longitude. |
424 | Store latitude and longitude as an integer type rather than float (higher precision). |
425 | |
426 | 2009-07-08 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
427 | |
428 | * src/superx.c: Ensure that variable is reset before using it. |
429 | |
430 | 2009-07-06 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
431 | |
432 | * src/visualiser.c: |
433 | Print all super-segments within and crossing the border. |
434 | Don't display speed limits for tracks and paths unless set. |
435 | |
436 | 2009-07-04 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
437 | |
438 | * src/segmentsx.h, src/superx.c, src/waysx.c, src/waysx.h: |
439 | Change data structure to avoid calling realloc() each time to allocate more |
440 | memory. |
441 | |
442 | 2009-07-02 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
443 | |
444 | * src/types.h, src/waysx.c, src/waysx.h: |
445 | Handle duplicate ways. |
446 | |
447 | * src/nodes.c, src/nodesx.c, src/planetsplitter.c, src/profiles.c, src/results.c, |
448 | src/segments.c, src/segmentsx.c, src/superx.c, src/superx.h, src/types.h, src/ways.c, |
449 | src/waysx.c: |
450 | Fix some gcc pedantic warnings. |
451 | |
452 | * src/files.c, src/nodesx.c, src/osmparser.c, src/results.c, src/router.c, src/segments.c, |
453 | src/segmentsx.c, src/superx.c, src/ways.c, src/waysx.c: |
454 | Removed unused header files, change assert statements, tidy some code. |
455 | |
456 | 2009-07-01 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
457 | |
458 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, src/superx.c: |
459 | Remove the Node structure from the NodeX structure to save memory. |
460 | |
461 | * src/filedumper.c: |
462 | Print latitude and longitude in degrees. |
463 | |
464 | 2009-06-30 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
465 | |
466 | * src/segmentsx.h: |
467 | Re-order the data in the structure. |
468 | |
469 | * src/nodesx.c, src/nodesx.h, src/osmparser.c, src/planetsplitter.c, src/segmentsx.c, |
470 | src/segmentsx.h, src/superx.c, src/waysx.h: |
471 | Remove the Segment structure from the SegmentX structure to save memory. |
472 | |
473 | 2009-06-29 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
474 | |
475 | * src/filedumper.c, src/nodes.h, src/nodesx.c, src/segments.c, src/segments.h, |
476 | src/segmentsx.c, src/superx.c, src/types.h: |
477 | Move the super-segment and normal-segment flags from the nodes to the distance. |
478 | Remove the NODE() macro and rename SUPER_FLAG to NODE_SUPER. |
479 | |
480 | * src/waysx.c: Replace memmove with structure copy. |
481 | |
482 | * src/nodesx.c, src/segmentsx.c, src/segmentsx.h, src/superx.c: |
483 | Rename SegmentsX sdata to ndata. |
484 | |
485 | 2009-06-25 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
486 | |
487 | * src/waysx.c, src/waysx.h: Rename part of the structure. |
488 | |
489 | * src/nodesx.c, src/nodesx.h, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h, |
490 | src/superx.c, src/waysx.h: |
491 | Undo part of the previous change - only update the Segment way index at the end. |
492 | |
493 | * src/waysx.h, src/nodesx.c, src/osmparser.c, src/planetsplitter.c, src/segmentsx.c, |
494 | src/segmentsx.h, src/superx.c, src/superx.h, src/typesx.h, src/waysx.c: |
495 | Reduce the number of ways in the output by compacting them (sharing the same |
496 | information between identical ways). |
497 | |
498 | 2009-06-24 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
499 | |
500 | * src/filedumper.c, src/nodes.h: |
501 | Allow dumping out of nodes, segments and ways. |
502 | |
503 | 2009-06-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
504 | |
505 | * src/segmentsx.c, src/superx.c, src/visualiser.c, src/ways.c, src/ways.h: |
506 | Rename WaysSame() with WaysCompare() and reverse the sense of the output. |
507 | |
508 | * src/functionsx.h, src/typesx.h: New file. |
509 | |
510 | * src/functions.h, src/nodesx.h, src/osmparser.c, src/planetsplitter.c, src/segmentsx.h, |
511 | src/superx.h, src/types.h, src/waysx.h: |
512 | Put some of types.h into typesx.h (for extended data types). |
513 | Put some of functions.h into functionsx.h (for OSM parser). |
514 | Change included files to match. |
515 | |
516 | * src/filedumper.c, src/osmparser.c, src/output.c, src/router.c, src/types.h, src/visualiser.c: |
517 | Add a macro for converting degrees to radians and radians to degrees. |
518 | |
519 | * src/optimiser.c: |
520 | Fix weight, height, width, length restriction routing. |
521 | |
522 | * doc/TAGGING.txt, src/osmparser.c: |
523 | Recognise tags "vehicle" and "motor_vehicle". |
524 | |
525 | 2009-06-13 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
526 | |
527 | Version 1.1 released |
528 | |
529 | 2009-06-13 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
530 | |
531 | * src/nodesx.c, src/planetsplitter.c, src/segmentsx.c, src/segmentsx.h: |
532 | Handle nodes that are missing from the .osm file (ignore the segment). |
533 | |
534 | * src/nodesx.c: |
535 | Revert the last change (Print an error message and exit if a node cannot be found). |
536 | |
537 | * doc/NEWS.txt: New file. |
538 | |
539 | * src/Makefile: |
540 | Delete the executables from the web directory for 'distclean'. |
541 | |
542 | 2009-06-12 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
543 | |
544 | * doc/USAGE.txt, doc/INSTALL.txt, doc/README.txt: |
545 | Update the documentation. |
546 | |
547 | * src/Makefile: Copy the executables into the web directory. |
548 | |
549 | 2009-06-08 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
550 | |
551 | * src/filedumper.c: Change help text. |
552 | |
553 | * src/visualiser.c: |
554 | Change format of super-node/segment visualiser output. |
555 | |
556 | 2009-06-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
557 | |
558 | * doc/TAGGING.txt: Updated with imperial to metric conversions. |
559 | |
560 | * src/Makefile: Added visualiser.c. |
561 | |
562 | * src/filedumper.c: Now used for data visualisation and statistics. |
563 | |
564 | * src/visualiser.h, src/visualiser.c: New file. |
565 | |
566 | 2009-06-05 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
567 | |
568 | * src/osmparser.c: |
569 | Improve parsing of imperial units (mph, feet & inches). |
570 | |
571 | 2009-06-03 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
572 | |
573 | * src/nodesx.c: |
574 | Print an error message and exit if a node cannot be found. |
575 | |
576 | 2009-05-31 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
577 | |
578 | * src/ways.c, src/ways.h, src/waysx.c, src/waysx.h: |
579 | Move function from waysx.c to ways.c. |
580 | |
581 | 2009-05-29 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
582 | |
583 | * doc/USAGE.txt: |
584 | Update usage information with new options and copyright.txt usage. |
585 | |
586 | * src/nodes.c, src/nodes.h, src/router.c: |
587 | Make sure that the chosen "nearest point" is a highway that the profile allows. |
588 | |
589 | 2009-05-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
590 | |
591 | * src/profiles.c: |
592 | Change the default profile; horses are slower, bicycles may be allowed on |
593 | footways (and similar). |
594 | |
595 | 2009-05-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
596 | |
597 | * src/files.c, src/output.c: |
598 | Error checking on opening files (to read/write data and to write output). |
599 | |
600 | 2009-05-14 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
601 | |
602 | * src/output.c, src/results.c, src/router.c, src/segments.c, src/segmentsx.c, src/superx.c, |
603 | src/types.h, src/nodes.c, src/nodesx.c, src/optimiser.c: |
604 | Replace ~0 or 0 with NO_NODE value for "no node" condition. |
605 | |
606 | 2009-05-13 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
607 | |
608 | * src/output.c: |
609 | Remove one more NODE macro and fix an output formatting error. |
610 | |
611 | * src/nodes.c, src/nodes.h, src/optimiser.c, src/output.c, src/router.c: |
612 | Remove some node macros, change some node function arguments. |
613 | |
614 | * src/optimiser.c, src/profiles.c, src/profiles.h: |
615 | Move some common code into the profile. |
616 | |
617 | * src/superx.c: Remove distance and duration from Result structure. |
618 | |
619 | * src/output.c: Better junction detection. |
620 | |
621 | * src/optimiser.c, src/results.c, src/results.h: |
622 | Remove distance and duration from Result structure. |
623 | |
624 | 2009-05-09 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
625 | |
626 | * src/output.c: |
627 | Add better junction detection for deciding on route waypoints. |
628 | |
629 | 2009-05-06 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
630 | |
631 | * src/optimiser.c, src/profiles.c, src/profiles.h, src/types.h: |
632 | Route using preferences for each highway. |
633 | |
634 | * src/router.c: Print out longitude then latitude. |
635 | |
636 | 2009-04-30 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
637 | |
638 | * src/results.h, src/router.c, src/superx.c, src/types.h, src/optimiser.c, src/osmparser.c, |
639 | src/planetsplitter.c, src/profiles.c, src/profiles.h, src/results.c: |
640 | First attempt at preferences for highways - uses integer arithmetic and doesn't |
641 | work well. |
642 | |
643 | 2009-04-27 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
644 | |
645 | * src/functions.h, src/optimiser.c, src/output.c, src/results.c, src/results.h, src/router.c: |
646 | Allow generating a route with intermediate waypoints. |
647 | |
648 | 2009-04-24 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
649 | |
650 | * src/functions.h, src/output.c, src/router.c: |
651 | Split the output functions into separate head/body/tail. |
652 | Read in an optional copyright.txt file and include contents in output. |
653 | |
654 | 2009-04-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
655 | |
656 | * src/profiles.c: Improve Javascript and perl print out. |
657 | |
658 | * src/filedumper.c, src/files.c, src/functions.h, src/planetsplitter.c, src/router.c: |
659 | Move the filename generation to a new function. |
660 | |
661 | 2009-04-22 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
662 | |
663 | * src/Makefile, src/functions.h, src/optimiser.c: |
664 | Split the function to print the output into a new file. |
665 | |
666 | * src/output.c: New file. |
667 | |
668 | 2009-04-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
669 | |
670 | * src/osmparser.c: |
671 | Fix for parsing nodes from XML (no effect on results). |
672 | |
673 | 2009-04-12 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
674 | |
675 | * doc/USAGE.txt, src/optimiser.c: |
676 | Create a GPX route as well as a track. |
677 | |
678 | * src/ways.c: Changed the license to Affero GPLv3. |
679 | |
680 | 2009-04-10 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
681 | |
682 | * src/optimiser.c: |
683 | Add a waypoint to the GPX file for the start and finish points. |
684 | |
685 | * doc/USAGE.txt: |
686 | Include more information about the output file formats. |
687 | |
688 | 2009-04-08 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
689 | |
690 | Version 1.0 released |
691 | |
692 | 2009-04-08 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
693 | |
694 | * Makefile: New file. |
695 | |
696 | * src/Makefile: Fix dependency file generation. |
697 | |
698 | * doc/USAGE.txt, doc/TAGGING.txt, doc/README.txt, doc/INSTALL.txt, doc/ALGORITHM.txt: |
699 | New file. |
700 | |
701 | * src/Makefile, src/filedumper.c, src/files.c, src/functions.h, src/nodes.c, src/nodes.h, |
702 | src/nodesx.c, src/nodesx.h, src/optimiser.c, src/osmparser.c, src/planetsplitter.c, |
703 | src/profiles.c, src/profiles.h, src/results.c, src/results.h, src/router.c, src/segments.c, |
704 | src/segments.h, src/segmentsx.c, src/segmentsx.h, src/superx.c, src/superx.h, src/types.h, |
705 | src/ways.h, src/waysx.c, src/waysx.h: |
706 | Changed the license to Affero GPLv3. |
707 | |
708 | 2009-04-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
709 | |
710 | * src/planetsplitter.c: Remove the --help-profile command line option. |
711 | |
712 | 2009-03-28 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
713 | |
714 | * src/optimiser.c: |
715 | Fix file headers (again) and fix segment distance/duration for abbreviated text |
716 | output. |
717 | |
718 | 2009-03-24 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
719 | |
720 | * src/osmparser.c, src/profiles.c, src/types.h, src/ways.c: |
721 | Added highway=path; defaults to foot=yes but also is defaulted for bicycle and |
722 | horse transport. |
723 | |
724 | 2009-03-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
725 | |
726 | * src/optimiser.c: Fixed the header in the output text files. |
727 | |
728 | * src/osmparser.c: |
729 | Add parsing for *=designated allowing passage along a highway. |
730 | |
731 | * src/profiles.h, src/router.c, src/profiles.c: |
732 | Add a function to output default profiles as perl data structures. |
733 | |
734 | 2009-03-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
735 | |
736 | * src/nodesx.c: |
737 | Handle duplicated nodes (e.g. from concatenated input files). |
738 | |
739 | * src/optimiser.c: Add a header to the output text files. |
740 | |
741 | 2009-03-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
742 | |
743 | * src/optimiser.c: |
744 | Renamed the *.txt output to *-all.txt and added a new shorted *.txt output. |
745 | |
746 | * src/router.c: Renamed the --no-print option to --no-output. |
747 | |
748 | 2009-03-04 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
749 | |
750 | * src/nodes.c: Fix bug with finding nearest node. |
751 | |
752 | 2009-03-03 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
753 | |
754 | * src/superx.c: Fix the merging of super-segments. |
755 | |
756 | 2009-03-01 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
757 | |
758 | * src/profiles.c, src/profiles.h: |
759 | Added more limits (weight, height, width, length). |
760 | |
761 | * src/segments.c: Use the lower speed from the profile and the way. |
762 | |
763 | * src/osmparser.c: Added more limits (weight, height, width, length). |
764 | Added highway=living_street and highway=services. |
765 | |
766 | * src/ways.c, src/ways.h, src/optimiser.c, src/router.c, src/segmentsx.c, src/superx.c, |
767 | src/types.h: |
768 | Added more limits (weight, height, width, length). |
769 | |
770 | * src/waysx.c, src/waysx.h: |
771 | Added a function to test if two ways are the same. |
772 | |
773 | 2009-02-28 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
774 | |
775 | * src/nodesx.c: |
776 | Round the node location to avoid if falling into the wrong bin. |
777 | |
778 | * src/nodesx.c, src/planetsplitter.c, src/segmentsx.c, src/waysx.c: |
779 | Move print statements from planetsplitter into individual functions. |
780 | |
781 | * src/Makefile: Compile with optimisation and no profiling. |
782 | |
783 | * src/profiles.c, src/router.c: |
784 | Add new command line options to make it more CGI friendly. |
785 | |
786 | 2009-02-27 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
787 | |
788 | * src/profiles.c, src/profiles.h, src/router.c: |
789 | Print out Javascript code containing the profiles. |
790 | |
791 | 2009-02-24 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
792 | |
793 | * src/segmentsx.h, src/superx.c, src/nodesx.c, src/segments.c, src/segments.h, |
794 | src/segmentsx.c: |
795 | Remove segment->next1 since it always points at the next segment or nowhere. |
796 | |
797 | * src/profiles.c: Remove track from valid types for most transports. |
798 | |
799 | 2009-02-15 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
800 | |
801 | * src/functions.h, src/optimiser.c, src/router.c: |
802 | Change some function names. |
803 | |
804 | * src/osmparser.c: Add in tests for motorcar=1 etc. |
805 | |
806 | * src/nodes.c, src/nodes.h, src/router.c: |
807 | The search to find a node given the lat/long now searches harder. |
808 | |
809 | * src/optimiser.c: Better test for failing to find a route. |
810 | |
811 | * src/router.c: Change --only-super to --super. |
812 | |
813 | * src/nodesx.c, src/optimiser.c, src/osmparser.c, src/router.c, src/segments.c, |
814 | src/segmentsx.c, src/types.h, src/nodes.c: |
815 | Store radians rather than degrees. |
816 | |
817 | * src/segments.c, src/segmentsx.c: |
818 | Change to sinf(), cosf(), sqrtf(), asinf() functions. |
819 | |
820 | * src/optimiser.c: |
821 | Set the sortby parameter to the minimum distance/duration consistent with the |
822 | travelled distance/duration and the remaining straight line distance with the |
823 | fastest possible speed. |
824 | |
825 | * src/filedumper.c, src/nodes.c, src/nodes.h, src/nodesx.c, src/types.h: |
826 | Add macros for handling lat/long to bin conversions. |
827 | |
828 | * src/osmparser.c: Handle oneway=1 and oneway=-1. |
829 | |
830 | 2009-02-10 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
831 | |
832 | * src/results.c, src/results.h: |
833 | Added a new 'sortby' entry to the Result. |
834 | Changed node_t to index_t. |
835 | |
836 | * src/router.c: Changed node_t to index_t. |
837 | |
838 | * src/nodes.c, src/segments.c, src/segments.h: |
839 | Change the Distance() function to return distance_t. |
840 | |
841 | 2009-02-08 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
842 | |
843 | * src/optimiser.c, src/results.c, src/results.h, src/router.c, src/superx.c: |
844 | Calculate quickest or shortest, not both. |
845 | |
846 | * src/optimiser.c, src/profiles.c, src/router.c: |
847 | Give appropriate error messages if start or end of route are not possible. |
848 | |
849 | 2009-02-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
850 | |
851 | * src/results.c: |
852 | Slight speedup by doing a linear search when looking up results and not storing |
853 | in sorted order. |
854 | |
855 | * src/superx.h, src/superx.c, src/waysx.h, src/waysx.c, src/segmentsx.h, src/segmentsx.c, |
856 | src/nodesx.h, src/nodesx.c: |
857 | New file. |
858 | |
859 | * src/ways.h, src/Makefile, src/filedumper.c, src/functions.h, src/nodes.c, src/nodes.h, |
860 | src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/router.c, src/segments.c, |
861 | src/segments.h, src/types.h, src/ways.c: |
862 | Split the extended data types from the normal data types. |
863 | |
864 | * src/nodes.c: Return NULL if the node cannot be found. |
865 | |
866 | * src/Makefile, src/filedumper.c, src/optimiser.c, src/router.c: |
867 | Add new command line options. |
868 | |
869 | * src/supersegments.c: Fix some status messages. |
870 | |
871 | * src/optimiser.c, src/types.h: Routing works with super-nodes now. |
872 | |
873 | 2009-02-06 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
874 | |
875 | * src/ways.c, src/segments.c, src/segments.h, src/supersegments.c, src/types.h, src/nodes.c, |
876 | src/nodes.h, src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/functions.h: |
877 | Segments now not duplicated in database. |
878 | Routing with all nodes works, not with super-nodes. |
879 | |
880 | 2009-02-04 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
881 | |
882 | * src/router.c: Fix usage output. |
883 | |
884 | * src/ways.c, src/ways.h: Only sort once, don't store the index. |
885 | |
886 | * src/planetsplitter.c, src/router.c: |
887 | Use '--*' command line arguments, not '-*'. |
888 | |
889 | * src/nodes.c, src/router.c, src/segments.c, src/ways.c: |
890 | Make sure that nodes, segments and ways could be loaded. |
891 | |
892 | * src/nodes.h, src/optimiser.c, src/router.c, src/segments.c, src/segments.h, |
893 | src/supersegments.c, src/types.h, src/filedumper.c, src/nodes.c: |
894 | Sort the nodes geographically and take coordinates as command line arguments. |
895 | |
896 | 2009-02-02 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
897 | |
898 | * src/ways.c, src/ways.h, src/nodes.c, src/nodes.h, src/osmparser.c, src/segments.c, |
899 | src/segments.h, src/supersegments.c, src/types.h: |
900 | More variable and function name changes. |
901 | |
902 | 2009-02-01 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
903 | |
904 | * src/profiles.c, src/router.c, src/segments.c, src/segments.h, src/supersegments.c, |
905 | src/ways.c, src/ways.h, src/files.c, src/functions.h, src/nodes.c, src/nodes.h, |
906 | src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/filedumper.c: |
907 | Rename some variable types. |
908 | |
909 | 2009-01-31 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
910 | |
911 | * src/segments.c, src/segments.h, src/supersegments.c, src/types.h, src/ways.c, src/ways.h, |
912 | src/functions.h, src/nodes.c, src/nodes.h, src/optimiser.c, src/planetsplitter.c, |
913 | src/profiles.h, src/router.c: |
914 | Intermediate version during code cleanup. |
915 | |
916 | * src/optimiser.c, src/planetsplitter.c, src/router.c, src/segments.c, src/segments.h, |
917 | src/functions.h, src/nodes.h: |
918 | Intermediate checkin, routing now working. |
919 | |
920 | * src/Makefile: |
921 | Don't print out anything when creating the dependencies directory. |
922 | |
923 | * src/planetsplitter.c, src/router.c: |
924 | Add command line options to specify the directory and filename prefix. |
925 | |
926 | 2009-01-30 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
927 | |
928 | * src/results.c, src/planetsplitter.c: Remove gcc warning. |
929 | |
930 | * src/Makefile: Move dependencies to subdir. |
931 | |
932 | * src/osmparser.c: Remove gcc warning. |
933 | |
934 | 2009-01-29 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
935 | |
936 | * src/functions.h, src/nodes.c, src/nodes.h, src/optimiser.c, src/planetsplitter.c, |
937 | src/router.c, src/segments.c, src/segments.h, src/supersegments.c: |
938 | Intermediate version while transitioning data format for nodes and segments. |
939 | |
940 | 2009-01-28 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
941 | |
942 | * src/Makefile, src/functions.h, src/nodes.c, src/nodes.h, src/optimiser.c, src/osmparser.c, |
943 | src/planetsplitter.c, src/segments.c, src/segments.h, src/supersegments.c, src/ways.c, |
944 | src/ways.h: |
945 | Intermediate version while transitioning data format for nodes and segments. |
946 | |
947 | 2009-01-27 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
948 | |
949 | * src/Makefile, src/functions.h, src/nodes.c, src/nodes.h, src/optimiser.c, |
950 | src/planetsplitter.c, src/router.c, src/segments.c, src/segments.h, src/supersegments.c, |
951 | src/ways.c, src/ways.h: |
952 | Intermediate version while transitioning data format for nodes and segments. |
953 | |
954 | 2009-01-26 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
955 | |
956 | * src/osmparser.c, src/planetsplitter.c, src/segments.c, src/segments.h, |
957 | src/supersegments.c, src/ways.c, src/ways.h, src/filedumper.c, src/files.c, src/functions.h, |
958 | src/optimiser.c: |
959 | Change Segment to contain index of way not its real ID. |
960 | Don't store the real way ID to save space. |
961 | |
962 | 2009-01-25 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
963 | |
964 | * src/segments.c, src/segments.h: |
965 | Slightly speed up the Duration calculation by changing the macro. |
966 | |
967 | * src/osmparser.c, src/profiles.c, src/ways.c, src/ways.h: |
968 | Fix misspelling of Unclassified. |
969 | |
970 | * src/planetsplitter.c, src/segments.c, src/segments.h, src/supersegments.c, src/ways.h, |
971 | src/optimiser.c: |
972 | Change the segment->way so that it contains the index of the way, not the id. |
973 | |
974 | * src/profiles.c, src/profiles.h: New file. |
975 | |
976 | * src/ways.c, src/ways.h, src/Makefile, src/functions.h, src/optimiser.c, src/osmparser.c, |
977 | src/planetsplitter.c, src/router.c, src/segments.c, src/segments.h: |
978 | Added profiles to define speed and allowed highways. |
979 | Added new options to planetsplitter and router to use the profiles. |
980 | |
981 | 2009-01-24 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
982 | |
983 | * src/optimiser.c: Changed some variable names for clarity. |
984 | |
985 | * src/planetsplitter.c: Print more information about progress. |
986 | Don't quit until 99.9% unchanged. |
987 | |
988 | * src/optimiser.c, src/results.c, src/results.h, src/supersegments.c: |
989 | Change the Results structure so that the real data doesn't need to be realloc(). |
990 | Add functions to access the first and subsequent elements of the Results structure. |
991 | |
992 | 2009-01-23 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
993 | |
994 | * src/osmparser.c, src/planetsplitter.c: |
995 | Fix bug with not specifying a method of transport. |
996 | |
997 | * src/optimiser.c, src/router.c: Proper check that it was unroutable. |
998 | |
999 | * src/functions.h, src/optimiser.c, src/planetsplitter.c, src/supersegments.c: |
1000 | Remove "iteration" as function argument. |
1001 | |
1002 | * src/functions.h, src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/router.c, |
1003 | src/ways.c, src/ways.h: |
1004 | Add command line options to planetsplitter and router. |
1005 | Select transport type (must be allowed on way for parsing). |
1006 | Select highway types (ignore when parsing or routing). |
1007 | |
1008 | * src/ways.h, src/functions.h, src/optimiser.c, src/osmparser.c, src/router.c, |
1009 | src/segments.c, src/segments.h, src/ways.c: |
1010 | Add enumerated type Transport. |
1011 | Replace variables of AllowType with Transport where more appropriate. |
1012 | Replace AllowType with Allowed. |
1013 | Replace WayType with Highway. |
1014 | |
1015 | * src/osmparser.c: Only include ways that are not Way_Unknown type. |
1016 | |
1017 | * src/osmparser.c: Include permissive access. |
1018 | |
1019 | * src/functions.h, src/optimiser.c, src/results.c, src/results.h, src/router.c: |
1020 | Create a large or small results structure depending on how many nodes are |
1021 | expected. |
1022 | |
1023 | 2009-01-22 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1024 | |
1025 | * src/results.h: Increase the number of bins to 64k. |
1026 | |
1027 | * src/optimiser.c, src/osmparser.c, src/segments.c, src/segments.h, src/supersegments.c: |
1028 | Remove INVALID_DISTANCE and INVALID_DURATION. |
1029 | |
1030 | * src/optimiser.c, src/osmparser.c, src/supersegments.c, src/ways.c, src/ways.h: |
1031 | Removed the Way_TYPE() macro. |
1032 | |
1033 | * src/results.c, src/results.h, src/optimiser.c: |
1034 | Move queue functions into results.c. |
1035 | |
1036 | * src/filedumper.c, src/nodes.c, src/nodes.h, src/planetsplitter.c, src/router.c: |
1037 | Nodes, Segments, Ways - Nodes, Segments, Ways. |
1038 | |
1039 | * src/filedumper.c, src/nodes.c, src/nodes.h, src/segments.c, src/segments.h, src/ways.c, |
1040 | src/ways.h: |
1041 | Remove the choice of indexed or non-indexed data structures. |
1042 | |
1043 | 2009-01-21 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1044 | |
1045 | * src/optimiser.c: |
1046 | Various small speed-ups including not-reversing direction. |
1047 | |
1048 | * src/functions.h, src/optimiser.c, src/osmparser.c, src/router.c, src/segments.c, |
1049 | src/segments.h, src/supersegments.c, src/ways.c, src/ways.h: |
1050 | Calculate way speeds at routing time. |
1051 | |
1052 | * src/supersegments.c: |
1053 | Add reverse-oneway segments when creating supernodes. |
1054 | Check incoming oneway streets as well as outgoing ones. |
1055 | |
1056 | * src/osmparser.c: Don't change speed on roundabouts. |
1057 | |
1058 | 2009-01-20 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1059 | |
1060 | * src/planetsplitter.c: |
1061 | Add command line options for skipping parsing and iteration limit. |
1062 | |
1063 | * src/optimiser.c, src/osmparser.c, src/segments.c, src/segments.h, src/supersegments.c: |
1064 | Remove duration from segment, calculate duration depending on speed. |
1065 | |
1066 | 2009-01-19 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1067 | |
1068 | * src/functions.h, src/optimiser.c, src/planetsplitter.c, src/supersegments.c: |
1069 | Iteratively calculate the super-segments. |
1070 | |
1071 | * src/ways.h: Redefine Way_TYPE() to include one-way status. |
1072 | |
1073 | 2009-01-18 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1074 | |
1075 | * src/optimiser.c, src/supersegments.c: |
1076 | Fix problems with way-type matching and duplicated/missing super-segments. |
1077 | |
1078 | * src/functions.h, src/optimiser.c, src/router.c: Print out a GPX file. |
1079 | |
1080 | * src/optimiser.c, src/filedumper.c, src/functions.h, src/planetsplitter.c, src/router.c, |
1081 | src/segments.c, src/segments.h, src/supersegments.c, src/ways.c, src/ways.h: |
1082 | Added Super-Ways and allow user to select method of transport. |
1083 | |
1084 | * src/segments.c: Fix for changes made to ways. |
1085 | |
1086 | * src/supersegments.c: |
1087 | Ensure that supernodes are inserted wherever the way type changes. |
1088 | |
1089 | * src/osmparser.c: Fill in the extra way information. |
1090 | |
1091 | * src/ways.h: |
1092 | Store more information about a way (allowed modes of transport). |
1093 | |
1094 | * src/filedumper.c: Fix output printing. |
1095 | |
1096 | * src/router.c: Print an error if no route can be found. |
1097 | |
1098 | * src/optimiser.c: |
1099 | Fix bugs when start and/or finish nodes are supernodes. |
1100 | |
1101 | 2009-01-17 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1102 | |
1103 | * src/Makefile: Add the option to create assembler output files. |
1104 | |
1105 | * src/optimiser.c, src/results.c, src/results.h, src/supersegments.c: |
1106 | Change the contents of the results data structure. |
1107 | |
1108 | * src/router.c: Added an option to not print the result. |
1109 | |
1110 | 2009-01-16 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1111 | |
1112 | * src/optimiser.c, src/results.h, src/router.c: |
1113 | Speed optimisation by changing the contents of the Results structure. |
1114 | |
1115 | * src/optimiser.c: |
1116 | Don't bother calculating the distance to go, it takes too long. |
1117 | |
1118 | 2009-01-14 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1119 | |
1120 | * src/planetsplitter.c: Remove bad segments and non-way nodes. |
1121 | |
1122 | * src/nodes.c, src/nodes.h: Remove nodes which are not in highways. |
1123 | Fix the sorting and create indexes after sorting, not before saving. |
1124 | |
1125 | * src/segments.c, src/segments.h: |
1126 | Remove bad segments (repeated consecutive nodes and duplicate segments). |
1127 | Fix the sorting and create indexes after sorting, not before saving. |
1128 | |
1129 | * src/supersegments.c: Use invalid distances properly. |
1130 | |
1131 | * src/ways.c: |
1132 | Fix the sort algorithm and update the indexes after sorting, not before saving. |
1133 | |
1134 | * src/optimiser.c: Fix the bug with merging the results. |
1135 | Fix the bug with not clearing the results structure properly. |
1136 | |
1137 | * src/osmparser.c: |
1138 | Add segments that correspond to the wrong way along one-way routes with an |
1139 | invalid distance. |
1140 | |
1141 | 2009-01-11 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1142 | |
1143 | * src/functions.h, src/optimiser.c, src/router.c: |
1144 | Routes correctly using super-nodes (not Lands End to John O'Groats though). |
1145 | |
1146 | * src/filedumper.c, src/functions.h, src/optimiser.c, src/planetsplitter.c, src/router.c, |
1147 | src/segments.h, src/supersegments.c: |
1148 | Replace Junction with SuperNode. |
1149 | |
1150 | * src/nodes.c, src/nodes.h, src/segments.h, src/ways.c, src/ways.h: |
1151 | Some small changes to the nodes, segments and ways functions. |
1152 | |
1153 | * src/Makefile, src/filedumper.c, src/functions.h, src/optimiser.c, src/planetsplitter.c, |
1154 | src/results.h, src/router.c, src/segments.c, src/segments.h, src/supersegments.c: |
1155 | Working version with supersegments and junctions. |
1156 | |
1157 | 2009-01-10 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1158 | |
1159 | * src/ways.c, src/ways.h, src/osmparser.c, src/segments.c: |
1160 | Store more information about ways. |
1161 | |
1162 | * src/results.h, src/results.c: New file. |
1163 | |
1164 | * src/Makefile, src/optimiser.c: |
1165 | Move the results data type into new files. |
1166 | |
1167 | * src/nodes.h, src/segments.h, src/ways.h: |
1168 | Increase the increment for the indexed array case. |
1169 | |
1170 | * src/ways.h, src/Makefile, src/filedumper.c, src/functions.h, src/nodes.c, src/nodes.h, |
1171 | src/optimiser.c, src/osmparser.c, src/planetsplitter.c, src/router.c, src/segments.c, |
1172 | src/segments.h, src/supersegments.c, src/ways.c: |
1173 | About to add the super-segment functionality using Segments data type to hold |
1174 | them. |
1175 | |
1176 | * src/functions.h, src/types.h: |
1177 | Changed after nodes, ways and segment changes. |
1178 | |
1179 | 2009-01-09 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1180 | |
1181 | * src/segments.h: New file. |
1182 | |
1183 | * src/segments.c: |
1184 | Changed the format of the segments data type to match the nodes. |
1185 | |
1186 | * src/nodes.h: Enable indexed arrays. |
1187 | |
1188 | * src/ways.h: New file. |
1189 | |
1190 | * src/ways.c: |
1191 | Changed the format of the ways data type to match the nodes. |
1192 | |
1193 | * src/nodes.c, src/nodes.h: |
1194 | Changed the format of the nodes data type again. |
1195 | |
1196 | 2009-01-07 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1197 | |
1198 | * src/nodes.h: New file. |
1199 | |
1200 | * src/nodes.c: Lots of modifications: |
1201 | Two data structures - in memory (pointers) and in file (array). |
1202 | Data is hashed into multiple bins. |
1203 | Each function takes a nodes structure as an argument. |
1204 | |
1205 | 2009-01-06 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1206 | |
1207 | * src/supersegments.c: New file. |
1208 | |
1209 | * src/Makefile, src/filedumper.c, src/functions.h, src/planetsplitter.c, src/types.h: |
1210 | Added SuperSegments data type, but it does nothing yet. |
1211 | |
1212 | * src/optimiser.c: |
1213 | Tried to optimise the Queue data type. It was slower than the original. |
1214 | |
1215 | 2009-01-05 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1216 | |
1217 | * src/filedumper.c: Print out the longest segment. |
1218 | |
1219 | * src/optimiser.c: |
1220 | Some optimisations. Increase the number of result bins and change |
1221 | find_insert_result() into insert_result(). |
1222 | |
1223 | 2009-01-04 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1224 | |
1225 | * src/optimiser.c: Introduced some new data types to simplify the code. |
1226 | |
1227 | * src/filedumper.c: Print more useful information. |
1228 | |
1229 | * src/segments.c, src/types.h, src/ways.c, src/filedumper.c, src/functions.h, src/nodes.c, |
1230 | src/optimiser.c, src/osmparser.c, src/planetsplitter.c: |
1231 | Changed the node, way and segment functions and data types. |
1232 | Removed 'alloced', shortened the prototype array. |
1233 | Remove the automatic sorting of the data. |
1234 | Added assert statements. |
1235 | |
1236 | 2009-01-03 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1237 | |
1238 | * src/ways.c: New file. |
1239 | |
1240 | * src/router.c, src/types.h, src/Makefile, src/filedumper.c, src/functions.h, |
1241 | src/optimiser.c, src/osmparser.c, src/planetsplitter.c: |
1242 | Added the ways to the output. |
1243 | |
1244 | 2009-01-02 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1245 | |
1246 | * src/optimiser.c, src/osmparser.c, src/segments.c, src/types.h: |
1247 | Added macros to convert between distance/km and duration/hours/minutes. |
1248 | Shortened the Segment data type with shorter distances and durations. |
1249 | |
1250 | 2009-01-01 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1251 | |
1252 | * src/functions.h, src/nodes.c, src/planetsplitter.c, src/segments.c, src/types.h: |
1253 | Remove the functions to initialise the node and segment arrays. |
1254 | |
1255 | * src/optimiser.c, src/router.c, src/Makefile: Print out the results. |
1256 | |
1257 | 2008-12-31 Andrew M. Bishop <amb@gedanken.demon.co.uk> |
1258 | |
1259 | * src/types.h, src/segments.c, src/router.c, src/planetsplitter.c, src/osmparser.c, |
1260 | src/optimiser.c, src/nodes.c, src/functions.h, src/files.c, src/filedumper.c, src/Makefile: |
1261 | New file. |
1262 |