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 1426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 26 18:26:27 2013 UTC (11 years, 8 months ago) by amb
File length: 23597 byte(s)
Diff to previous 1422
Sort the nodes geographically at the beginning rather than at the end.
Revision 1422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 24 18:53:09 2013 UTC (11 years, 8 months ago) by amb
File length: 25712 byte(s)
Diff to previous 1414
Change the IndexSegments() function so that in slim mode larger chunks are read from the file (since it reads sequentially but in reverse through the file).
Revision 1414 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 22 18:49:33 2013 UTC (11 years, 8 months ago) by amb
File length: 25159 byte(s)
Diff to previous 1410
Use SlimMapFile() and SlimUnmapFile() as the function names for the slim mode of operation to open and close the files (to hide the fact that they are files being opened for reading or writing unbuffered).
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: 25219 byte(s)
Diff to previous 1409
Rename the functions for unbuffered file access to make this clear.
Revision 1409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 14:53:01 2013 UTC (11 years, 8 months ago) by amb
File length: 25139 byte(s)
Diff to previous 1408
Use the new buffered functions in the filesort functions.
Revision 1408 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 14:43:37 2013 UTC (11 years, 8 months ago) by amb
File length: 25011 byte(s)
Diff to previous 1402
Use the new functions for buffering while reading when looping through files other than the ones already done that use the FILESORT_VARINT method of storing data.
Revision 1402 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 18:58:05 2013 UTC (11 years, 8 months ago) by amb
File length: 24891 byte(s)
Diff to previous 1355
Use the buffered write functions when creating the nodes, segments, ways and relation raw files.
Revision 1355 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 31 14:06:50 2013 UTC (11 years, 9 months ago) by amb
File length: 24867 byte(s)
Diff to previous 1354
Small changes to comments and log messages.
Revision 1354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 18:16:25 2013 UTC (11 years, 9 months ago) by amb
File length: 24875 byte(s)
Diff to previous 1351
Don't de-duplicate when sorting segments (now done in ProcessSegments() function).
Revision 1351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 17:33:21 2013 UTC (11 years, 9 months ago) by amb
File length: 25867 byte(s)
Diff to previous 1350
Merge the RemoveBadSegments() and MeasureSegments() functions. Saves one read/write iteration through the segments file.
Revision 1350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 16:53:27 2013 UTC (11 years, 9 months ago) by amb
File length: 27535 byte(s)
Diff to previous 1349
Delete the non-highway nodes by searching for them in the ways rather than marking them when processing the segments.
Revision 1349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 29 17:33:26 2013 UTC (11 years, 9 months ago) by amb
File length: 28105 byte(s)
Diff to previous 1347
Simplify the segments by using the node and way index instead of node and way id which avoids lots of IndexNodeX() lookups. Move some other code around to cope with it.
Revision 1347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 27 17:36:11 2013 UTC (11 years, 9 months ago) by amb
File length: 28768 byte(s)
Diff to previous 1339
Redistributed error log messages from osmparser way handling.
Revision 1339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 23 17:47:16 2013 UTC (11 years, 9 months ago) by amb
File length: 28682 byte(s)
Diff to previous 1318
Don't create segments when parsing input file but create the segments later using the nodes stored in the ways file. This makes applying changes simpler (segments file is not kept with the --keep option) and handling changed ways is simpler than changed segments.
Revision 1318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 13 18:06:15 2013 UTC (11 years, 10 months ago) by amb
File length: 32137 byte(s)
Diff to previous 1317
Move the logerror function prototypes back into logging.h and remove the logerror.h header file from most source files again.
Revision 1317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 12 18:00:25 2013 UTC (11 years, 10 months ago) by amb
File length: 32159 byte(s)
Diff to previous 1313
Add functions to process the binary error log file and convert it into a geographically searchable database.
Revision 1313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 11 18:14:38 2013 UTC (11 years, 10 months ago) by amb
File length: 32119 byte(s)
Diff to previous 1297
Create a binary log file that contains the node, way and relation id and a link to the error message for easy parsing.
Revision 1297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 7 14:41:11 2013 UTC (11 years, 10 months ago) by amb
File length: 31903 byte(s)
Diff to previous 1231
Add cache functions for NodesX, SegmentsX and WaysX to speed up the planetsplitter in slim mode.
Revision 1231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 27 14:00:23 2012 UTC (12 years, 2 months ago) by amb
File length: 31670 byte(s)
Diff to previous 1228
Don't append segments if they are duplicates within a way or have duplicated nodes. Log errors for middle nodes that repeat within a way (can be non-trivial unintentional loops).
Revision 1228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 26 10:57:06 2012 UTC (12 years, 2 months ago) by amb
File length: 31886 byte(s)
Diff to previous 1208
Make the log error messages more useful when there are missing nodes or ways.
Revision 1208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 16:43:03 2012 UTC (12 years, 3 months ago) by amb
File length: 31797 byte(s)
Diff to previous 1173
Stop planetsplitter crashing out in unusual ways if there is no data.
Revision 1173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 27 19:51:08 2012 UTC (12 years, 3 months ago) by amb
File length: 31645 byte(s)
Diff to previous 1171
Log an error about duplicated segments within a way while parsing the OSM instead of later (will have been removed by de-duplication code before tested later in most cases).
Revision 1171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 27 19:19:01 2012 UTC (12 years, 3 months ago) by amb
File length: 31390 byte(s)
Diff to previous 1169
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 1169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 11:12:04 2012 UTC (12 years, 3 months ago) by amb
File length: 31499 byte(s)
Diff to previous 1168
Finally fix the segment area handling - segments that are areas are discarded in preference to those that are not (as it was between r914 and r1136) and segments that are areas don't have the wrong distance (as they did between r914 and r1136). Revision r1137 correctly changed to use a flag and fixed the distance bug but then didn't sort using the new flag. Revision r1153 started sorting using the segment flags but the area was not the most significant bit so they were not sorted last. Revision r1164 correctly cleared the area flag when no longer needed but didn't fix the rest. Revision r1168 reverted r1164 so needed to be re-applied.
Revision 1168 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Nov 21 09:20:57 2012 UTC (12 years, 3 months ago) by amb
File length: 31461 byte(s)
Diff to previous 1167
Revert r1164 - some super-segments are longer than 65535 metres even if no individual segment is.
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.