Routino SVN Repository Browser

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

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

Log of /trunk/src/segmentsx.c

Parent Directory Parent Directory | Revision Log Revision Log


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


Revision 331 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 20 13:35:15 2010 UTC (15 years ago) by amb
File length: 24796 byte(s)
Diff to previous 326
Move the stat() calls to find a file size into a helper function in files.c.


Revision 326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 19:47:10 2010 UTC (15 years ago) by amb
File length: 24799 byte(s)
Diff to previous 311
Allow planetsplitter to be run with a --parse-only or --process-only option and
append to existing file or read from existing file.


Revision 311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 12 11:08:50 2009 UTC (15 years, 3 months ago) by amb
File length: 24286 byte(s)
Diff to previous 310
Add some FILESORT_* #defines and use them.


Revision 310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 11 19:27:39 2009 UTC (15 years, 3 months ago) by amb
File length: 24402 byte(s)
Diff to previous 289
Added a new function to sort variable length data - simplifies the compacting of
ways, reduces memory usage potentially required for it and simplifies the code.


Revision 289 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 22 18:17:51 2009 UTC (15 years, 5 months ago) by amb
File length: 24394 byte(s)
Diff to previous 285
Added some missing comments and corrected some existing ones.


Revision 285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 12 17:54:18 2009 UTC (15 years, 5 months ago) by amb
File length: 24237 byte(s)
Diff to previous 284
Re-order the functions in the file into a more logical order.
No functional changes.


Revision 284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 12 17:35:26 2009 UTC (15 years, 5 months ago) by amb
File length: 24237 byte(s)
Diff to previous 283
Rename the tmpdirname variable.


Revision 283 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 10 16:21:19 2009 UTC (15 years, 5 months ago) by amb
File length: 24216 byte(s)
Diff to previous 281
Corrections after running with valgrind.


Revision 281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 10 15:22:48 2009 UTC (15 years, 5 months ago) by amb
File length: 24247 byte(s)
Diff to previous 280
Remove the nodesx->gdata index.


Revision 280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 9 18:47:40 2009 UTC (15 years, 6 months ago) by amb
File length: 23950 byte(s)
Diff to previous 279
Free the nodesx->super array and the segmentsx->firstnode array when finished
with them.  Remove wayx->cid and overwrite wayx->id instead.  Overwrite
nodex[i]->id=i for later geographically sorted use.


Revision 279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 8 19:20:29 2009 UTC (15 years, 6 months ago) by amb
File length: 23773 byte(s)
Diff to previous 277
Replace node, segment and way indexes with a single index for a set of segments
containing the location of the first segment for each node.


Revision 277 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 7 18:53:19 2009 UTC (15 years, 6 months ago) by amb
File length: 23599 byte(s)
Diff to previous 275
AppendSegment adds a single segment and not a pair.


Revision 275 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 7 18:03:48 2009 UTC (15 years, 6 months ago) by amb
File length: 23810 byte(s)
Diff to previous 264
Go back to the version 1.1 method of having each segment listed twice.  This
simplifies the lookup of first/next segments at no in-RAM index cost and now
that slim mode has sorting of file contents the balance has tipped back.


Revision 264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 22 17:59:50 2009 UTC (15 years, 6 months ago) by amb
File length: 26608 byte(s)
Diff to previous 262
Improve the super-segment de-duplication.


Revision 262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 17 12:55:15 2009 UTC (15 years, 6 months ago) by amb
File length: 26134 byte(s)
Diff to previous 258
Added the slim mode to Ways as well.


Revision 258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 15 11:39:50 2009 UTC (15 years, 6 months ago) by amb
File length: 26046 byte(s)
Diff to previous 257
Some bug fixes and some missing unmap function calls.


Revision 257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 7 19:01:59 2009 UTC (15 years, 7 months ago) by amb
File length: 25949 byte(s)
Diff to previous 256
Fixed slim mode for segments and nodes (slim now means mapping only one file
into RAM at a time and none when creating the final output).


Revision 256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 6 15:51:09 2009 UTC (15 years, 7 months ago) by amb
File length: 25832 byte(s)
Diff to previous 252
Slim version of segments code (still very slow and only works on simple cases).


Revision 252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 5 09:37:31 2009 UTC (15 years, 7 months ago) by amb
File length: 22549 byte(s)
Diff to previous 249
Improve slim mode for nodes so that no data is not loaded into RAM at all.


Revision 249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 3 17:51:03 2009 UTC (15 years, 7 months ago) by amb
File length: 22673 byte(s)
Diff to previous 243
Added slim mode (--slim) to planetsplitter for nodes only.


Revision 243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 19 18:02:08 2009 UTC (15 years, 7 months ago) by amb
File length: 22665 byte(s)
Diff to previous 232
Remove "sorted" parameter in data structure and change assert statements.


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: 22175 byte(s)
Diff to previous 229
Include the number of super-nodes, super-segments etc in the database as useful
information to put in the statistics output.


Revision 229 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 19 12:54:07 2009 UTC (15 years, 8 months ago) by amb
File length: 21886 byte(s)
Diff to previous 228
Store only one copy of each segment but index once for each direction.


Revision 228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 12 09:01:48 2009 UTC (15 years, 8 months ago) by amb
File length: 17849 byte(s)
Diff to previous 227
Tidy up and fix comments and include files.


Revision 227 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Jul 12 08:38:12 2009 UTC (15 years, 8 months ago) by amb
File length: 17644 byte(s)
Diff to previous 226
Check all print statements and made them more consistent and/or accurate.



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