/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

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

revision 846 by bh, Tue May 6 18:05:23 2003 UTC revision 906 by jonathan, Wed May 14 11:16:59 2003 UTC
# Line 1  Line 1 
1    2003-05-14  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):
4            Fix docstring.
5            (ClassGenerator.GenUniformDistribution): Fix spelling of method name.
6            (ClassGenerator.GenQuantiles): Use the left/right brackets and min/max
7            values of the supplied range to determine the beginning and end
8            bounds of the generated classes.
9    
10            * Thuban/Model/range.py (Range.number_re): Now accepts floats that
11            do not have a leading 0 (.5 is now accepted as well as 0.5).
12    
13            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method
14            call to ClassGenerator.GenUniformDistribution.
15    
16            * Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows
17            layout bug with the 'Projection' label.
18    
19            * test/support.py (FloatTestCase): New. Needed for the Range tests.
20    
21            * test/test_range.py: New. Imported from SciParam.
22    
23    2003-05-12  Jonathan Coles   <[email protected]>
24    
25            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call
26            to table.UniqueValues() with calls that retrieve all the values
27            from the table. This will need to be replaced by a method on table
28            which can simply return the list (perhaps more efficiently).
29    
30    2003-05-12  Jonathan Coles   <[email protected]>
31    
32            The return value of ClassGenerator.CalculateQuantiles has changed.
33            Refer to the documentation for details.
34    
35            * test/test_classgen.py: Modified Quantile tests to use the
36            new return values.
37    
38            * Thuban/Model/classgen.py
39            (ClassGenerator.GenQuantiles): Add comments describing the parameters,
40            use new return values from CalculateQuantiles to produce the correct
41            range bounds in the Classification.
42            (ClassGenerator.CalculateQuantiles): Add more comments describing
43            the return values and parameters. Make minor adjustments to improve
44            the legibility of the code. Fix problem with adjusted not being set
45            in most cases.
46    
47    2003-05-12  Frank Koormann <[email protected]>
48            
49            * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode
50            and latin1. Fixes #1851 finally.
51    
52    2003-05-09  Jonathan Coles   <[email protected]>
53    
54            * test/test_classgen.py: New. Tests the Quantile algorithm.
55    
56            * Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles):
57            Clean up debugging statement, add comments, fix a small bug in the
58            returned adjusted percentiles.
59            
60    2003-05-09  Jonathan Coles   <[email protected]>
61    
62            Introduces Range class from SciParam into the ClassGroupRange class,
63            and such ranges can now be saved and loaded from disk.
64    
65            Quantiles are now available in the Classification Generator.
66    
67            Initial support for building Queries on a table. Doesn't do anything
68            but run some tests.
69    
70            * Thuban/Model/classification.py: Explicit imports.
71            (ClassGroupRange): Use the Range class to store the underlying
72            range information. The interface remains the same, except for
73            GetRange(), and you can also supply a Range object as the min
74            parameter to SetRange or __init__.
75    
76            * Thuban/Model/load.py (XMLReader.encode): New. Encodes the given
77            string appropriately for use in Thuban. Fixes RTbug #1851.
78            (SessionLoader.end_projection): Handle the context of the
79            projection tag a bit better by looking at what objects are not
80            None. There was an assumption that a projection tag for a map
81            could occur before any layers.
82            (SessionLoader.start_clrange): Provide backward compatibility for
83            reading min/max values as well as the new range parameter.
84    
85            * Thuban/Model/map.py: Explicit imports.
86    
87            * Thuban/Model/resource.py: Import _.
88            (ProjFileSaver.write): write header using projfile.dtd.
89    
90            * Thuban/Model/save.py: Explicit imports.
91            (XMLWriter.encode): New. Encode the given string from a format
92            used by Thuban into UTF-8. Fixes RTbug #1851.
93    
94            * Thuban/UI/classgen.py: Explicit imports.
95            (ClassGenDialog.__init__): Clean up the code and add support
96            for Quantiles.
97            (ClassGenDialog.OnOK): Add support for Quantiles.
98            (GenQuantilesPanel): New. Input panel for Quantiles.
99            (ClassGenerator, CustomRamp, MonochromaticRamp, GreyRamp, RedRamp,
100            GreenRamp, BlueRamp, HotToColdRamp): Move to Thuban/Model/classgen.py
101    
102            * Thuban/Model/classgen.py: New. Contains all the classes named above.
103    
104            * Thuban/UI/classifier.py: Explicit imports.
105            (ClassTable.GetValueAsCust, ClassTable.__ParseInput,
106            ClassTable.SetValueAsCustom): Reworked to use new Range class.
107    
108            * Thuban/UI/legend.py: Explicit imports.
109    
110            * Thuban/UI/mainwindow.py: Add support for the Join Dialog. Added
111            a Table menu and associated method calls.
112            (MainWindow.choose_color): Removed. No longer needed.
113    
114            * Thuban/UI/projdialog.py (ProjFrame.__VerifyButtons): Save button
115            should be disabled if no projection is selected in the available
116            list.
117    
118            * Thuban/UI/renderer.py: Explicit imports.
119    
120            * Thuban/UI/tableview.py (TableGrid.OnRangeSelect): Fix some issues
121            with correctly selecting the rows and issuing the right events.
122            Be sure to call Skip() to allow the grid to do some of its own
123            handling which allows the rows to actually be selected.
124            (LayerTableGrid.select_shapes): Rename from select_shape. Supports
125            selecting multiple shapes.
126            (LayerTableFrame): Support for building Queries.
127            (LayerTableFrame.select_shapes): Allow multiple shapes to be selected.
128    
129            * Thuban/UI/tree.py: Explicit imports.
130    
131            * Thuban/UI/view.py (MapCanvas): Delegate "SelectedShapes" so the
132            table view can call it.
133    
134            * test/test_classification.py: Explicit imports.
135            (TestClassification.test_ClassGroupRange): Fix test for new
136            Range class.
137    
138            * Doc/thuban.dtd: Add range parameter for clrange.
139    
140            * Thuban/Model/range.py: Taken from SciParam. Used as the underlying
141            object in ClassGroupRange, and also uesd for inputting ranges in
142            the classifer table and elsewhere.
143    
144            * Thuban/UI/join.py: New. Initial Join dialog. No real functionality
145            yet.
146    
147    2003-05-09  Frank Koormann <[email protected]>
148    
149            * Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0.
150    
151    2003-05-08  Frank Koormann <[email protected]>
152    
153            Coding style updates
154    
155            * test/test_scalebar.py: Replaced tab indentation by spaces.
156    
157            * Thuban/UI/scalebar.py: Explicit imports.
158    
159    2003-05-08  Frank Koormann <[email protected]>
160    
161            * Thuban/UI/scalebar.py
162            (ScaleBar.DrawScalebar): Format string bug fixed.
163    
164    2003-05-08  Frank Koormann <[email protected]>
165    
166            Reorganization of scalebar component (no wx in Thuban/Model)
167    
168            * Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py
169            (deriveInterval):
170            Calculate scalebar interval and unit which fits in width for scale.
171            (roundInterval): Round float.
172    
173            * Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering
174    
175            * test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods.
176    
177            * Thuban/UI/legend.py: Import Thuban.UI.scalebar
178    
179    2003-05-08  Frank Koormann <[email protected]>
180    
181            * Thuban/UI/legend.py (ScalebarBitmap.SetCanvas):
182            Initialize ScaleBar with canvas.map
183    
184            * Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New,
185            round intervals to display smarter lengths
186            (ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a
187            layer. If the maps has no projection applied grey the scalebar.
188    
189    2003-05-07  Frank Koormann <[email protected]>
190            
191            Basic Scalebar features added.
192    
193            * Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering.
194    
195            * Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap
196            (ScaleBarBitmap): New, links the scalebar bitmap with view messages
197            and the renderer.
198    
199            * Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED.
200    
201            * Thuban/UI/messages.py: SCALE_CHANGED added.
202    
203    2003-05-07  Bernhard Herzog  <[email protected]>
204    
205            * Thuban/Model/session.py (Session.__init__): New instance
206            variable shapestores to hold a list of all open shapestore objects
207            (Session.ShapeStores): New. Accessor method for the shapestores
208            list.
209            (Session._add_shapestore, Session._clean_weak_store_refs): New.
210            Internal methods to maintain the shapestores list.
211            (Session.Tables): New. Return all tables open in the session.
212            (Session.OpenShapefile): Insert the new ShapeStore into the
213            shapestores list.
214    
215            * test/test_session.py (TestSessionSimple.test_initial_state): Add
216            tests for ShapeStores and Tables
217            (TestSessionWithContent.test_shape_stores)
218            (TestSessionWithContent.test_tables): New. Test cases for
219            ShapeStores and Tables
220    
221    2003-05-07  Bernhard Herzog  <[email protected]>
222    
223            * Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict):
224            Add comments about the optimizations used.
225            (AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New.
226            Implement the ReadValue table interface method.
227    
228            * test/test_transientdb.py
229            (TestTransientTable.run_iceland_political_tests)
230            (TestTransientTable.test_transient_joined_table): Add tests for
231            ReadValue
232    
233    2003-05-07  Frank Koormann <[email protected]>
234    
235            * Resources/Bitmaps/fulllayerextent.xpm,
236            Resources/Bitmaps/fullselextent.xpm: Replaced the place holders with
237            new icons.
238    
239  2003-05-06  Bernhard Herzog  <[email protected]>  2003-05-06  Bernhard Herzog  <[email protected]>
240    
241          * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):          * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):

Legend:
Removed from v.846  
changed lines
  Added in v.906

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26