/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 870 by frank, Thu May 8 14:06:32 2003 UTC revision 908 by bh, Fri May 16 15:01:18 2003 UTC
# Line 1  Line 1 
1    2003-05-16  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/table.py (Table): Remove this compatibility alias
4            for DBFTable.
5    
6            * test/test_table.py: Import DBFTable as Table because that alias
7            doesn't exist anymore.
8    
9            * Thuban/UI/classgen.py: Remove some unused imports
10    
11    2003-05-14  Jonathan Coles   <[email protected]>
12    
13            * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):
14            Fix docstring.
15            (ClassGenerator.GenUniformDistribution): Fix spelling of method name.
16            (ClassGenerator.GenQuantiles): Use the left/right brackets and min/max
17            values of the supplied range to determine the beginning and end
18            bounds of the generated classes.
19    
20            * Thuban/Model/range.py (Range.number_re): Now accepts floats that
21            do not have a leading 0 (.5 is now accepted as well as 0.5).
22    
23            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method
24            call to ClassGenerator.GenUniformDistribution.
25    
26            * Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows
27            layout bug with the 'Projection' label.
28    
29            * test/support.py (FloatTestCase): New. Needed for the Range tests.
30    
31            * test/test_range.py: New. Imported from SciParam.
32    
33    2003-05-12  Jonathan Coles   <[email protected]>
34    
35            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call
36            to table.UniqueValues() with calls that retrieve all the values
37            from the table. This will need to be replaced by a method on table
38            which can simply return the list (perhaps more efficiently).
39    
40    2003-05-12  Jonathan Coles   <[email protected]>
41    
42            The return value of ClassGenerator.CalculateQuantiles has changed.
43            Refer to the documentation for details.
44    
45            * test/test_classgen.py: Modified Quantile tests to use the
46            new return values.
47    
48            * Thuban/Model/classgen.py
49            (ClassGenerator.GenQuantiles): Add comments describing the parameters,
50            use new return values from CalculateQuantiles to produce the correct
51            range bounds in the Classification.
52            (ClassGenerator.CalculateQuantiles): Add more comments describing
53            the return values and parameters. Make minor adjustments to improve
54            the legibility of the code. Fix problem with adjusted not being set
55            in most cases.
56    
57    2003-05-12  Frank Koormann <[email protected]>
58            
59            * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode
60            and latin1. Fixes #1851 finally.
61    
62    2003-05-09  Jonathan Coles   <[email protected]>
63    
64            * test/test_classgen.py: New. Tests the Quantile algorithm.
65    
66            * Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles):
67            Clean up debugging statement, add comments, fix a small bug in the
68            returned adjusted percentiles.
69            
70    2003-05-09  Jonathan Coles   <[email protected]>
71    
72            Introduces Range class from SciParam into the ClassGroupRange class,
73            and such ranges can now be saved and loaded from disk.
74    
75            Quantiles are now available in the Classification Generator.
76    
77            Initial support for building Queries on a table. Doesn't do anything
78            but run some tests.
79    
80            * Thuban/Model/classification.py: Explicit imports.
81            (ClassGroupRange): Use the Range class to store the underlying
82            range information. The interface remains the same, except for
83            GetRange(), and you can also supply a Range object as the min
84            parameter to SetRange or __init__.
85    
86            * Thuban/Model/load.py (XMLReader.encode): New. Encodes the given
87            string appropriately for use in Thuban. Fixes RTbug #1851.
88            (SessionLoader.end_projection): Handle the context of the
89            projection tag a bit better by looking at what objects are not
90            None. There was an assumption that a projection tag for a map
91            could occur before any layers.
92            (SessionLoader.start_clrange): Provide backward compatibility for
93            reading min/max values as well as the new range parameter.
94    
95            * Thuban/Model/map.py: Explicit imports.
96    
97            * Thuban/Model/resource.py: Import _.
98            (ProjFileSaver.write): write header using projfile.dtd.
99    
100            * Thuban/Model/save.py: Explicit imports.
101            (XMLWriter.encode): New. Encode the given string from a format
102            used by Thuban into UTF-8. Fixes RTbug #1851.
103    
104            * Thuban/UI/classgen.py: Explicit imports.
105            (ClassGenDialog.__init__): Clean up the code and add support
106            for Quantiles.
107            (ClassGenDialog.OnOK): Add support for Quantiles.
108            (GenQuantilesPanel): New. Input panel for Quantiles.
109            (ClassGenerator, CustomRamp, MonochromaticRamp, GreyRamp, RedRamp,
110            GreenRamp, BlueRamp, HotToColdRamp): Move to Thuban/Model/classgen.py
111    
112            * Thuban/Model/classgen.py: New. Contains all the classes named above.
113    
114            * Thuban/UI/classifier.py: Explicit imports.
115            (ClassTable.GetValueAsCust, ClassTable.__ParseInput,
116            ClassTable.SetValueAsCustom): Reworked to use new Range class.
117    
118            * Thuban/UI/legend.py: Explicit imports.
119    
120            * Thuban/UI/mainwindow.py: Add support for the Join Dialog. Added
121            a Table menu and associated method calls.
122            (MainWindow.choose_color): Removed. No longer needed.
123    
124            * Thuban/UI/projdialog.py (ProjFrame.__VerifyButtons): Save button
125            should be disabled if no projection is selected in the available
126            list.
127    
128            * Thuban/UI/renderer.py: Explicit imports.
129    
130            * Thuban/UI/tableview.py (TableGrid.OnRangeSelect): Fix some issues
131            with correctly selecting the rows and issuing the right events.
132            Be sure to call Skip() to allow the grid to do some of its own
133            handling which allows the rows to actually be selected.
134            (LayerTableGrid.select_shapes): Rename from select_shape. Supports
135            selecting multiple shapes.
136            (LayerTableFrame): Support for building Queries.
137            (LayerTableFrame.select_shapes): Allow multiple shapes to be selected.
138    
139            * Thuban/UI/tree.py: Explicit imports.
140    
141            * Thuban/UI/view.py (MapCanvas): Delegate "SelectedShapes" so the
142            table view can call it.
143    
144            * test/test_classification.py: Explicit imports.
145            (TestClassification.test_ClassGroupRange): Fix test for new
146            Range class.
147    
148            * Doc/thuban.dtd: Add range parameter for clrange.
149    
150            * Thuban/Model/range.py: Taken from SciParam. Used as the underlying
151            object in ClassGroupRange, and also uesd for inputting ranges in
152            the classifer table and elsewhere.
153    
154            * Thuban/UI/join.py: New. Initial Join dialog. No real functionality
155            yet.
156    
157    2003-05-09  Frank Koormann <[email protected]>
158    
159            * Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0.
160    
161  2003-05-08  Frank Koormann <[email protected]>  2003-05-08  Frank Koormann <[email protected]>
162    
163          Coding style updates          Coding style updates

Legend:
Removed from v.870  
changed lines
  Added in v.908

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26