Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Log of /trunk/src/waysx.c
Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Revision 1171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 27 19:19:01 2012 UTC (12 years, 4 months ago) by amb
File length: 18288 byte(s)
Diff to previous 1167
Don't log an error for duplicated nodes, ways or relations because it can only occur when applying changes or if using multiple geographically overlapping files and neither is a data error.
Revision 1167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 16:21:27 2012 UTC (12 years, 4 months ago) by amb
File length: 18492 byte(s)
Diff to previous 1166
Rename the '--preserve' command line option to '--keep' for simplicity.
Revision 1166 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 16:12:08 2012 UTC (12 years, 4 months ago) by amb
File length: 18521 byte(s)
Diff to previous 1161
Replace all assert statements with a custom error message that explains the cause and suggests a solution.
Revision 1161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 14:16:58 2012 UTC (12 years, 4 months ago) by amb
File length: 18331 byte(s)
Diff to previous 1160
Tidy up all of the recent code changes - change the name of a few of the functions.
Revision 1160 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 14:04:44 2012 UTC (12 years, 4 months ago) by amb
File length: 18327 byte(s)
Diff to previous 1158
Tidy up all of the recent code changes - change the order of the functions within the files to a more sensible and consitent order.
Revision 1158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 18:39:12 2012 UTC (12 years, 4 months ago) by amb
File length: 18326 byte(s)
Diff to previous 1151
Do not create the way indexes when loading the parsed ways to apply changes (reverses r1145).
Revision 1151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 18 17:24:50 2012 UTC (12 years, 4 months ago) by amb
File length: 19265 byte(s)
Diff to previous 1148
Using --parse-only and --preserve must sort the data so that it is ready to apply the changes.
Revision 1148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 17 17:44:07 2012 UTC (12 years, 4 months ago) by amb
File length: 19339 byte(s)
Diff to previous 1146
Replace a hard-coded constant with the #defined value it should have been.
Revision 1146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 17 14:06:57 2012 UTC (12 years, 4 months ago) by amb
File length: 19324 byte(s)
Diff to previous 1145
Suppress some error log messages when applying changes (false positive duplicate detection due to modification of existing items).
Revision 1145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 17 13:31:14 2012 UTC (12 years, 4 months ago) by amb
File length: 19188 byte(s)
Diff to previous 1140
Fix applying changes for ways (highways that have been modified to be non-highways were not added to the database so the original remains).
Revision 1140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 16 18:47:07 2012 UTC (12 years, 4 months ago) by amb
File length: 18264 byte(s)
Diff to previous 1139
Code to allow adding OSC change files (.osc files) to an existing set of parsed (and preserved) data.
Revision 1139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 15 19:16:47 2012 UTC (12 years, 4 months ago) by amb
File length: 18172 byte(s)
Diff to previous 1136
Fixed the --preserve option.
Revision 1136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 10 19:23:32 2012 UTC (12 years, 4 months ago) by amb
File length: 18035 byte(s)
Diff to previous 1135
Added a --preserve option which keeps the raw data files after parsing, sorting and de-duplication.
Revision 1135 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 10 14:38:28 2012 UTC (12 years, 4 months ago) by amb
File length: 17971 byte(s)
Diff to previous 1129
Don't index the ways in the first sorting, but wait until after de-duplicating.
Revision 1129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 10 09:58:03 2012 UTC (12 years, 4 months ago) by amb
File length: 17587 byte(s)
Diff to previous 1123
Separate the de-duplication of the ways from the extracting of the names.
Revision 1123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 3 10:44:59 2012 UTC (12 years, 4 months ago) by amb
File length: 16764 byte(s)
Diff to previous 1120
Don't open the input file for appending if there is no intention to write anything to it.
Revision 1120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 1 20:00:27 2012 UTC (12 years, 4 months ago) by amb
File length: 16537 byte(s)
Diff to previous 1118
Introduce a new'--append' option for appending data from a file to the currently parsed data. Rename the intermediate file used for storing data to be appended to. Add a function to call after appending to a file which closes the file and renames it to a temporary filename which is used for the remaining processing.
Revision 1118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 31 19:01:40 2012 UTC (12 years, 5 months ago) by amb
File length: 15990 byte(s)
Diff to previous 1114
Add the option for the sorting function to preserve the input order of equivalent items on the output. Use this feature in sorting so that slim mode and normal mode give the same results.
Revision 1114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 24 08:12:35 2012 UTC (12 years, 5 months ago) by amb
File length: 15963 byte(s)
Diff to previous 1113
Use the index provided by the pre-sort function rather than the way's internal id when pruning/compacting.
Revision 1113 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 22 07:54:28 2012 UTC (12 years, 5 months ago) by amb
File length: 15965 byte(s)
Diff to previous 1106
Use the new pre-sort function to allow CompactWays() to delete the unused segments before sorting them.
Revision 1106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 21 15:55:48 2012 UTC (12 years, 5 months ago) by amb
File length: 15474 byte(s)
Diff to previous 1104
Change the sorting functions to have a pre-sort and post-sort selection function instead of just a post-selection one (this will allow deletion of some items before sorting instead of after sorting in some cases).
Revision 1104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 21 14:31:02 2012 UTC (12 years, 5 months ago) by amb
File length: 15143 byte(s)
Diff to previous 1100
Delete the onumber parameter from the Ways file header. Don't map the ways file into memory when writing the ways.
Revision 1100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 20 16:52:20 2012 UTC (12 years, 5 months ago) by amb
File length: 15334 byte(s)
Diff to previous 1094
Move the compacting of the ways back to the top, delete the unused ways at this point and also call the function again after pruning segments.
Revision 1094 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 19 15:00:32 2012 UTC (12 years, 5 months ago) by amb
File length: 15944 byte(s)
Diff to previous 1093
Remove one filesort and one read through the ways file when compacting.
Revision 1093 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Oct 19 14:35:44 2012 UTC (12 years, 5 months ago) by amb
File length: 16191 byte(s)
Diff to previous 1092
Change to an external index for the compacted ways.
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.