Routino SVN Repository Browser

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

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

Log of /trunk/src/segments.c

Parent Directory Parent Directory | Revision Log Revision Log


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


Revision 1603 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 13 18:25:27 2014 UTC (10 years, 5 months ago) by amb
File length: 10243 byte(s)
Diff to previous 1602
Try to speed up the search for the closest node/segment by minimising the number
of nodes that are examined in detail.


Revision 1602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 10 19:01:52 2014 UTC (10 years, 5 months ago) by amb
File length: 9077 byte(s)
Diff to previous 1597
Record the memory used by the node, segment, way and relation caches in the slim
mode router.


Revision 1597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 13:11:05 2014 UTC (10 years, 5 months ago) by amb
File length: 8994 byte(s)
Diff to previous 1559
Be more consistent in the way that cache.h is included.


Revision 1559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 29 17:38:50 2014 UTC (10 years, 10 months ago) by amb
File length: 9013 byte(s)
Diff to previous 1497
Remove the "cyclebothways" property and replace it with a "cyclebothways"
highway type.  This means that it is no longer possible to choose a preference
for this type of highway when calculating a route.  There was never really any
reason for allowing users to do this since they can't specify a preference for
oneway streets.  It does however mean that the broken Javascript in the router
web page (no entry field for this property) is fixed.  Unfortunately this means
that a database created by previous versions are not compatible with this one.


Revision 1497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 27 19:48:26 2014 UTC (11 years, 1 month ago) by amb
File length: 9017 byte(s)
Diff to previous 1415
Detect the "cycleway=opposite_lane" tag and allow bicycles to travel in both
directions along those highways.  Based on parts of
https://github.com/cgravier/routino-2.6-bikeopposite-elevation/commit/47d68b37f1ea0d2f967ea6aa1555991747491200
https://github.com/cgravier/routino-2.6-bikeopposite-elevation/commit/764832f2671e6f6d8176be65cea3992bd1a488d3
https://github.com/cgravier/routino-2.6-bikeopposite-elevation/commit/37af908880c045309fba1125c4d683f6925f7d25
by Christophe Collard.


Revision 1415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 22 18:52:38 2013 UTC (11 years, 8 months ago) by amb
File length: 8876 byte(s)
Diff to previous 1410
Use SlimMapFile() and SlimUnmapFile() [see previous log message] and also use
SlimFetch() instead of SeekReadFileUnbuffered() and SlimReplace() instead of
SeekWriteFileUnbuffered() to hide the internals of the slim mode.


Revision 1410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 15:48:19 2013 UTC (11 years, 8 months ago) by amb
File length: 8898 byte(s)
Diff to previous 1312
Rename the functions for unbuffered file access to make this clear.


Revision 1312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 11 11:12:56 2013 UTC (11 years, 10 months ago) by amb
File length: 8868 byte(s)
Diff to previous 1292
Add functions to destroy the node/segment/way/relation lists and don't call them
from the end of the router by default.


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: 8488 byte(s)
Diff to previous 1291
Add node, segment, way and turn relation cache for slim mode.  Approx 40%
speed-up for router.


Revision 1291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 1 18:32:57 2013 UTC (11 years, 10 months ago) by amb
File length: 8563 byte(s)
Diff to previous 1168
The GetLatLong function takes a pointer to the node as an argument - must be an
optimisation for slim mode if not normal mode.


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: 8538 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: 8513 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: 8538 byte(s)
Diff to previous 955
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 955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 28 14:40:54 2012 UTC (13 years, 1 month ago) by amb
File length: 8501 byte(s)
Diff to previous 885
Simplify and standardise the included headers.


Revision 885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 29 15:20:30 2011 UTC (13 years, 4 months ago) by amb
File length: 8524 byte(s)
Diff to previous 708
Rationalise and reduce the usage of LookUpNode() function.


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: 8478 byte(s)
Diff to previous 707
Make the NextSegment function inline (move from segments.c to segments.h).


Revision 707 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 8 16:57:02 2011 UTC (13 years, 10 months ago) by amb
File length: 9485 byte(s)
Diff to previous 706
The FirstSegment function now takes a cache position argument.


Revision 706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 8 16:39:44 2011 UTC (13 years, 10 months ago) by amb
File length: 9483 byte(s)
Diff to previous 681
Ensure that the correct number of cached nodes, segments, ways or relations are
initialised.


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: 9455 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: 9445 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: 9469 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: 7405 byte(s)
Diff to previous 669
Move the turn_angle() and bearing_angle() functions from output.c into
segments.c.


Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 19:25:46 2011 UTC (14 years ago) by amb
File length: 4873 byte(s)
Diff to previous 459
Include math.h for files that use math functions.


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: 4940 byte(s)
Diff to previous 449
Added slim mode to the router for segments.


Revision 449 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jul 12 17:59:42 2010 UTC (14 years, 8 months ago) by amb
File length: 4353 byte(s)
Diff to previous 385
Create a files.h header and put some of the most heavily used files.c functions
into it and make them inline.



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