Debian Codegraph @

doc/change_log.txt

raw
1 Cave Converter Change Log
2 -------------------------
3 14 Jan 2017
4 - Added option to save splays with anonymous 'to stations' in Survex format.
5 - Added support for diving data to the data model, Survex reader and Survex writer.
6 - Added support for multifile Survex project reading
7 - Added support for nosurvey legs to the data model, Survex reader and Survex writer.
8 - Added support for anonymous begin/end blocks in the Survex reader.
9 - Fixed bug where flags set inside a child series were applied to data read in the parent series
10 after ending the child series.
11 - Changed Survex reader to allow spaces between '*' and keywords in, as Survex allows this.
12 - Added support for different units of measure to bearings and clino values in the data model and
13 Survex reader.
14 - Removed dependency on JScience.org libraries by implementing units conversion methods and updating
15 the model interface to handle units for lengths and angles.
16 - Updated dependency version of Cobertura to 2.1.1 (and removed seperate junit dependency as Cobertura
17 includes junit 4.11 libraries in the distribution).
18 14 Oct 2015
19 - Added a graphical application interface to the converter. Now it can be run as a desktop application
20 making it easier to browse for files, convert them and save the converted data to files.
21 - Added the option to specify the characterset encoding to use when reading and writing files. This can
22 be specified in the app.properties file for the Windowed application, or as a command line parameter.
23 - Improved the way that LRUD data is stored in a survey series in the data model. This resulted in some
24 slight differences in the way the conversion to Survex format generates passage data blocks from the
25 LRUD data. In my test data this was an improvement in all cases, and fixed one case where it turned
26 out the old code was swapping left and right passage dimensions in the output compared to the splays
27 which the LRUD data was generated from.
28 20 May 2014
29 - Updated regressions tests so that they passed on JRE8 following a double rounding bug fix
30 in the JRE. Backwards compatibility with JRE6 and 7 is retained by using older versions of
31 regression output reference files (indicated by the _ref7 suffix on the file names).
32 12 Apr. 2014
33 - Adopted JScience.org libraries for handling measurements, and implemented length measurements
34 as unitised lengths rather than plain decimal values.
35 - Added support for reading Compass format survey data files.
36 - Added substitution of illegal characters in series and station names to Survex format output.
37 Compass files allow various punctuation characters in series and station names, which are not
38 allowed in Survex format data files. These will be substituted by an underscore character followed
39 by a two letter code indicating the character which was substituted (e.g. '!' becomes '_ex').
40 - Fixed case sensitivity bug in Toborobot file generation which left series unlinked if series or
41 station names did not have identical case.
42 17 Nov. 2013 (beta)
43 - Fixed a bug in LRUD data generation which caused LRUD data at stations only appearing as the 'to
44 station' in a pair of legs to be calculated using the bearing of only one of the two legs
45 (i.e. When two legs are measured to the same station as typically happens when the instruments
46 are read at alternate stations 'leap frogging' stations).
47 - Fixed a bug in Survex Writer passage data block generation which meant it could get the left and
48 right measurements reversed when the first leg in a block is in a forward direction but the second
49 leg is in reverse.
50 16 Oct. 2013 (beta)
51 - Fixed bugs in Survex Writer passage data block generation which meant it only generated sensible
52 data if all survey legs were measured in the direction the survey was travelling. Now legs measured
53 in the reverse direction are handled, and legs do not have immediately follow from the previous
54 'to' station of the last leg for the passage data to be structured sensibly.
55 - Fixed bug in PocketTopo parser which repeated the station name given to the 'to' station for a splay
56 leg when the splays were not all located together in the survey.
57 21 Sep. 2013 (beta)
58 - Moved code to generate LRUD (left, right, up, down) passage dimensions from the PocketTopo parser
59 into the Survey Series class.
60 - Added additional command line options:
61 - splays/nosplays: Survex writer and Toporobot writer now have option to not output splays.
62 - lrud: Option to generate LRUD data from splays (can be used on any conversion).
63 - Added rounding of LRUD values to 2 decimal places in Survex file writer.
64 - Changed LRUD generation to better select the best splay for each dimension, and to calculate
65 the distance for the LRUD dimensions based on the angle of the splay to the passage direction
66 instead of using the total length of the splay. The splay selected when there is a choice is now
67 the splay giving the biggest dimension in the direction of the LRUD measurement rather than using
68 the splay closest to the compass bearing of the passage dimension measurement direction. Passage
69 direction is now calculated from the average bearing of the forward leg and the previous leg
70 arriving at the station. When more than two legs join at a station then the previous leg will be
71 the one with the closest bearing to the bearing of the onward leg.
72 - Splays fired as back shots are now excluded from LRUD generation.
73 - Splays are no longer removed from the output when used to generate LRUD dimensions.
74 - The Survex writer now groups passage data from LRUD dimensions into blocks of readings corresponding
75 to the survey legs in the file (previously one block of passage data was output per series with all
76 stations listed with no respect for their connectivity).
77 - Fixed bug where compass calibration was used instead of declination calibration in PocketTopo parser,
78 Survex parser and Survex writer.
79 - Added duplicate and surface flags to leg class, and added reading of flags to Survex parser and writing
80 them to Survex writer.
81 - Added date reading to Survex parser.
82 - Fixed bug in utility function to calculate the average of a set of compass bearings (thanks to Peter Kellaway
83 for pointing me to a much more robust and elegant solution). This bug does not affect the use of the function
84 in previous versions (where it was only used to convert PocketTopo triple leg readings into one average leg)
85 but it did show up in the new LRUD generation code when calculating the average bearing of two legs either
86 side of a station when the passage went round a sharp bend.
87 - Fixed bug in Toporobot Writer which caused passage dimensions data to be output on the wrong station
88 (LRUD values for the 'from' station of each leg were being put on the 'to' station of each leg).
89 - PocketTopo file reader no longer reorders the splay legs for each station (something which used to happen
90 due to the old code which sorted splays into groups for L,R,U,D measurements in this reader).
91 - Made the logging output less verbose, and fixed the survey summary details log output to include inner series.
92 16 Mar. 2013
93 - Fixed bug in Toporobot writer which left survey series unlinked when two series crossed over
94 each other in the middle of each series (i.e. Not joined at the start or end of either series).
95 05 Mar. 2013
96 - Added support for nested series in the data model. Survex reader and writer no longer flatten
97 the survey series hierarchy when series are inside other series.
98 - Fixed issue where Survex output files put data inside duplicated begin/end blocks.
99 - Improved series naming in PocketTopo converted data. Series now have the series number as
100 their name rather than the full cave name and series number, so the name is not duplicated
101 in the outer series name and inner series names. The outer series name is now the full name
102 from the input file (previously any numbers on the end of the name were removed).
103 - PocketTopo converted data links to series not included in the PocketTopo file now use the
104 correct series number and station number for the linked external series instead of dummy data.
105 - Toporobot format generation is much faster, and handles more complex cave surveys which
106 could crash the converter in previous versions.
107 - Fixed crash in Toporobot writer when converting directly from PocketTopo format.
108
109 31 Dec. 2012
110 - Major refactoring of internal data model of converter. All code changes are now tested using
111 an automated test framework to ensure conversions still produce the same output as previous
112 releases of the converter.
113 - Renamed main class and jar file to 'CaveConverter' and attempted to use this name consistently
114 in code and documentation.
115 - Added support for trip comments in PocketTopo txt export format file reader. Previous versions
116 threw an error if files contained trip comments.
117 - Added support for stations having more than 26 splays. Previous versions generated invalid
118 survey station names in output files for splays when there were more than 26 splays off a
119 single station. Now the first 26 stations are numbered a-z, then the sequence of generated
120 'to' station names will continue aa, ab, ac .. az, ba, bb, etc.
121 - Fixed output file line endings issue where previous versions always generated Unix style line
122 endings. Now files will have the line endings applicable to the platform the converter is
123 being run on. So on Windows the output files will have Windows style line endings.
124
125 09 Aug. 2011
126 - Changed PocketTopo txt file reader to keep all the splay shots at any station where more
127 than just a single left, right, up and down dimension was measured. Previously the code
128 picked one of the shots to be converted into an LRUD dimension and only retained the others
129 as splays. Now it retains all of them in case the user did not agree with the one which the
130 code picked as the best match for a passage dimension number. If there is just one splay for
131 each of the left, right, up, down directions then these are converted to LRUD data and no
132 splays are output for that station.
133
134 04 Oct. 2010
135 - Fixed DXF file reading code to handle a wider range of dxf files. Specifically files that
136 do not contain either 'Centreline' or 'AcDbEntity' headings in LINE definitions. Now it
137 will just try to locate the '10', '20', '30' headers in the LINE definition.
138
139 15 Aug. 2010
140 - Fixed bug where zero length legs to equate a station with one in a survey series not in the
141 Pocket Topo txt file being converted would crash the converter if the station in the series
142 not in the file was the second station in the leg. i.e. When in Pocket Topo you had tied in
143 to another survey part way along the survey of new passages, or surveyed back from the end
144 point in a new passage to tie in to a known passage at the end of the survey.
145
146 - The Survex writer will now output survey dates so that survex can process the date and
147 allow the survey to be viewed by date in Aven.
148
149 - The Survex writer will now put SPLAY and NOT SPLAY flags around splay legs so that they do
150 not get counted in the total length calculated by Survex.