Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Log of /trunk/src/segmentsx.c
Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
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: 20475 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: 20474 byte(s)
Diff to previous 674
Update comments throughout the source code.
Revision 674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 22 13:08:27 2011 UTC (13 years, 10 months ago) by amb
File length: 20399 byte(s)
Diff to previous 666
Finish off the geographic sorting of segments.
Revision 666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 19:07:47 2011 UTC (13 years, 11 months ago) by amb
File length: 20472 byte(s)
Diff to previous 660
Fix bug with segment deduplication.
Revision 660 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 20 15:47:50 2011 UTC (13 years, 11 months ago) by amb
File length: 20472 byte(s)
Diff to previous 658
Return early from the IndexSegments function if there are no segments.
Revision 658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 19 15:25:12 2011 UTC (14 years ago) by amb
File length: 20433 byte(s)
Diff to previous 657
Deduplicate in pairs only (i.e. if a segment occurs 4 times then keep 2 of them).
Revision 657 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 19 13:36:40 2011 UTC (14 years ago) by amb
File length: 20222 byte(s)
Diff to previous 655
Cache the recently used ways when de-duplicating segments.
Revision 655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 12 16:31:56 2011 UTC (14 years ago) by amb
File length: 20249 byte(s)
Diff to previous 651
Make the used nodes marker bit-wide rather than byte-wide.
Revision 651 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 27 16:31:34 2011 UTC (14 years ago) by amb
File length: 20233 byte(s)
Diff to previous 650
Rename the xdata and xcached members of the nodesx, segmentsx and waysx structures.
Revision 650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 27 15:49:21 2011 UTC (14 years ago) by amb
File length: 20241 byte(s)
Diff to previous 649
Don't have both xnumber and number in the nodesx, segmentsx, waysx and relationsx structures.
Revision 649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 27 15:22:04 2011 UTC (14 years ago) by amb
File length: 20286 byte(s)
Diff to previous 646
Remove a now unused array of segment indexes.
Revision 646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 26 19:44:56 2011 UTC (14 years ago) by amb
File length: 20634 byte(s)
Diff to previous 644
Remove a pair of functions that are no longer used and rename the other pair.
Revision 644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 26 17:20:40 2011 UTC (14 years ago) by amb
File length: 23196 byte(s)
Diff to previous 643
Renamed a couple of functions for clarity.
Revision 643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 26 16:37:14 2011 UTC (14 years ago) by amb
File length: 23201 byte(s)
Diff to previous 641
Go back to the internal structure used (but reverted) during version 1.2 development where each segment is stored only once. This halves the memory usage (mmap files or just files) for planetsplitter. This is allowed because a new algorithm to create the node to segment indexes makes it simpler now that it was. This change is required so that super-node/segment optimisation doesn't remove mutual loops. This change doesn't handle turn restrictions yet.
Revision 641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 24 18:35:29 2011 UTC (14 years ago) by amb
File length: 24894 byte(s)
Diff to previous 640
Create super-segments that go in loops and preserve all such loops.
Revision 640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 19:46:11 2011 UTC (14 years ago) by amb
File length: 24800 byte(s)
Diff to previous 627
Fix latent bug that can occur when de-duplicating segments.
Revision 627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 5 19:29:39 2011 UTC (14 years, 1 month ago) by amb
File length: 24812 byte(s)
Diff to previous 612
Change some output printed while running.
Revision 612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 29 19:23:15 2011 UTC (14 years, 1 month ago) by amb
File length: 24785 byte(s)
Diff to previous 602
Ensure that record of closed file descriptors are erased.
Revision 602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 15 19:43:31 2011 UTC (14 years, 2 months ago) by amb
File length: 24572 byte(s)
Diff to previous 558
Change to comment for clarification.
Revision 558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 19:25:03 2010 UTC (14 years, 2 months ago) by amb
File length: 24684 byte(s)
Diff to previous 557
Handle the SegmentX Segment in the same way as the other data structures (map into memory when used, open/close the file if slim). Create the real nodes without mapping the segments into memory.
Revision 557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 19:11:02 2010 UTC (14 years, 2 months ago) by amb
File length: 24728 byte(s)
Diff to previous 555
Make the PutBack*() functions be no-ops in slim mode and remove the pre-processor guards from around the function calls.
Revision 555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 19:02:31 2010 UTC (14 years, 2 months ago) by amb
File length: 24776 byte(s)
Diff to previous 554
Close and open the files for the slim case to match the map/unmap of files for the non-slim case.
Revision 554 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 17:54:31 2010 UTC (14 years, 2 months ago) by amb
File length: 24184 byte(s)
Diff to previous 552
Make the last two changes work for slim mode.
Revision 552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 17:38:29 2010 UTC (14 years, 2 months ago) by amb
File length: 24030 byte(s)
Diff to previous 545
Don't maintain a copy of the whole set of Nodes along with the NodeXs but generate the Node from the NodeX when written to disk. Create a lookup table between the original index and the geographically sorted index.
Revision 545 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Dec 18 19:18:01 2010 UTC (14 years, 3 months ago) by amb
File length: 24061 byte(s)
Diff to previous 544
Remove the test for sorting zero segments (now that the sort function doesn't crash).
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.