Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

/[routino]/trunk/src/segments.h
ViewVC logotype

Log of /trunk/src/segments.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:


Revision 1293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 3 18:13:22 2013 UTC (11 years, 10 months ago) by amb
File length: 7422 byte(s)
Diff to previous 1292
Tidy up the code for the last check-in and use macros to allow replication of
the functions for each type.


Revision 1292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 3 15:25:56 2013 UTC (11 years, 10 months ago) by amb
File length: 7381 byte(s)
Diff to previous 1168
Add node, segment, way and turn relation cache for slim mode.  Approx 40%
speed-up for router.


Revision 1168 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 09:20:57 2012 UTC (12 years, 3 months ago) by amb
File length: 7393 byte(s)
Diff to previous 1164
Revert r1164 - some super-segments are longer than 65535 metres even if no
individual segment is.


Revision 1164 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 15:24:30 2012 UTC (12 years, 3 months ago) by amb
File length: 7430 byte(s)
Diff to previous 1078
Replace the 32-bit combined distance and flags in the segment with 16 bits for
each.


Revision 1078 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 28 16:34:20 2012 UTC (12 years, 5 months ago) by amb
File length: 7393 byte(s)
Diff to previous 964
Rename some variables so that pointers to nodes, segments, ways and relations
use the Hungarian notation "p" suffix (only applies to the router, not
planetsplitter).


Revision 964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 11 19:51:46 2012 UTC (13 years, 1 month ago) by amb
File length: 7364 byte(s)
Diff to previous 887
Prune short segments.


Revision 887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 31 19:09:40 2011 UTC (13 years, 4 months ago) by amb
File length: 7242 byte(s)
Diff to previous 772
Use pread() and pwrite() functions instead of seek() followed by read() or
write().


Revision 772 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 4 18:13:19 2011 UTC (13 years, 9 months ago) by amb
File length: 7267 byte(s)
Diff to previous 708
Add a type cast to a macro.


Revision 708 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 8 17:58:46 2011 UTC (13 years, 10 months ago) by amb
File length: 7258 byte(s)
Diff to previous 704
Make the NextSegment function inline (move from segments.c to segments.h).


Revision 704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 8 16:19:10 2011 UTC (13 years, 10 months ago) by amb
File length: 5587 byte(s)
Diff to previous 681
Simplify the lookup of the segment index in slim mode.


Revision 681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 24 18:01:24 2011 UTC (13 years, 10 months ago) by amb
File length: 5677 byte(s)
Diff to previous 680
Make the comments more consistent.


Revision 680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 24 15:14:53 2011 UTC (13 years, 10 months ago) by amb
File length: 5677 byte(s)
Diff to previous 675
Update comments throughout the source code.


Revision 675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 22 13:59:27 2011 UTC (13 years, 10 months ago) by amb
File length: 5620 byte(s)
Diff to previous 672
Add in the option to specify an initial heading.


Revision 672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 22 09:36:33 2011 UTC (13 years, 10 months ago) by amb
File length: 5494 byte(s)
Diff to previous 564
Move the turn_angle() and bearing_angle() functions from output.c into
segments.c.


Revision 564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 21 17:18:41 2010 UTC (14 years, 2 months ago) by amb
File length: 5347 byte(s)
Diff to previous 465
Optimise the node, segment, way lookup in slim mode by checking if the previous
index is being requested again.


Revision 465 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 31 14:36:15 2010 UTC (14 years, 7 months ago) by amb
File length: 5286 byte(s)
Diff to previous 464
Change the data types to index_t where they are counting nodes/segments/ways.


Revision 464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 31 14:06:56 2010 UTC (14 years, 7 months ago) by amb
File length: 5286 byte(s)
Diff to previous 459
Ensure that seeking within a file uses a 64-bit offset.


Revision 459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 23 14:35:27 2010 UTC (14 years, 7 months ago) by amb
File length: 5279 byte(s)
Diff to previous 303
Added slim mode to the router for segments.


Revision 303 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 14 19:39:20 2009 UTC (15 years, 4 months ago) by amb
File length: 3359 byte(s)
Diff to previous 232
If a selected waypoint is not very close to an existing node then insert a fake
node in the segment that comes closest and use that instead.


Revision 232 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 19 14:10:27 2009 UTC (15 years, 8 months ago) by amb
File length: 3229 byte(s)
Diff to previous 219
Include the number of super-nodes, super-segments etc in the database as useful
information to put in the statistics output.


Revision 219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 9 17:31:56 2009 UTC (15 years, 8 months ago) by amb
File length: 3106 byte(s)
Diff to previous 208
Change from float to double for latitude and longitude.
Store latitude and longitude as an integer type rather than float (higher precision).


Revision 208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 29 17:39:20 2009 UTC (15 years, 8 months ago) by amb
File length: 3102 byte(s)
Diff to previous 151
Move the super-segment and normal-segment flags from the nodes to the distance.
Remove the NODE() macro and rename SUPER_FLAG to NODE_SUPER.


Revision 151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 8 16:54:34 2009 UTC (15 years, 11 months ago) by amb
File length: 3125 byte(s)
Diff to previous 128
Changed the license to Affero GPLv3.


Revision 128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 24 19:59:52 2009 UTC (16 years ago) by amb
File length: 2661 byte(s)
Diff to previous 114
Remove segment->next1 since it always points at the next segment or nowhere.


Revision 114 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Feb 10 19:42:41 2009 UTC (16 years, 1 month ago) by amb
File length: 2746 byte(s)
Diff to previous 109
Change the Distance() function to return distance_t.



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a