/[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 893 by frank, Mon May 12 10:46:05 2003 UTC revision 958 by bh, Wed May 21 17:12:30 2003 UTC
# Line 1  Line 1 
1    2003-05-21  Bernhard Herzog  <[email protected]>
2    
3            * test/test_load.py: Remove unused imports and restructure the
4            test code
5            (LoadSessionTest): Split into one class for each test and turn
6            LoadSessionTest itself into the base class for all such session
7            tests.
8            (ClassificationTest): New base class for load tests that test
9            classifications
10            (TestSingleLayer, TestLayerVisibility, TestClassification)
11            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
12            for the individual tests
13    
14            * test/support.py (FileLoadTestCase.filename): New base class for
15            file loading tests
16    
17    2003-05-21  Jan-Oliver Wagner <[email protected]>
18    
19            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
20            Mercator' to 'UTM Zone 32' as a more convenient example.
21            Added 'Gauss Krueger Zone 6'.
22    
23            * Data/iceland_sample_raster.thuban: political polygon now
24            filled transparent to have the raster image visible at once.
25    
26    2003-05-21  Frank Koormann  <[email protected]>
27    
28            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
29            OnClose() to keep in sync with extensions. Internally Thuban
30            still uses "underscored" names.
31    
32    2003-05-20  Jonathan Coles   <[email protected]>
33    
34            This puts back Raster layer support. These layers support projections
35            through the GDAL library. Currently, the CVS version is being used.
36            There are no Debian packages available although this may change soon.
37            A GDAL driver was extended to support writing to memory rather to
38            files.
39    
40            There is still some work that needs to be done, such as some error
41            handling when loading invalid images or when there is a problem
42            projecting the image. This putback simply checks in the majority
43            of the work.
44    
45            * setup.py: Add gdalwarp library extension.
46    
47            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
48            Defaults to False, but can be overridden by subclasses if they
49            support classification.
50            (RasterLayer): New. Defines a new layer that represents an
51            image.
52    
53            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
54            tag handler.
55            (SessionLoader.start_layer): Encode the filename.
56            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
57            New. Supports reading a rasterlayer tag.
58    
59            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
60    
61            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
62            get a string in Latin1. If we get such as string convert it to
63            unicode first, otherwise leave if alone before encoding.
64            (SessionSaver.write_layer): Add support for writing both Layers
65            and RasterLayers.
66    
67            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
68            The right argument may not be a string, it could also be a Column.
69    
70            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
71            Make initial window size 600x400. Fixes RTBug #1872.
72    
73            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
74            the dialog is constructed so that we can support layers that
75            do not have classifications.
76            (Classifier._OnTry): Only build a classification if the layer
77            supports one.
78    
79            * Thuban/UI/legend.py: Change all checks that a layer is an
80            instance of Layer into checks against BaseLayer.
81            (LegendTree.__FillTreeLayer): Only add children to a branch if
82            the layer supports classification.
83    
84            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
85            MainWindow.OpenSession): Don't proceed with an action if the
86            user chooses Cancel when they are asked to save changes.
87            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
88            user to select an image file. Create a new RasterLayer and add
89            it to the map.
90    
91            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
92            for rendering RasterLayer layers.
93            (MapRenderer.draw_raster_layer): Actually method that calls
94            the GDALWarp python wrapper and constructs an image from the
95            data returned.
96    
97            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
98            Choices symbols to match those used in the table query method.
99            Replace deprecated method calls on table with new method names.
100    
101            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
102            how small the scale can get. This still needs more testing.
103    
104            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
105            Provides a driver to output in .bmp format.
106    
107            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
108            New. Provides IO routines which write to memory, rather than a file.
109    
110            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
111            of the gdalwarp utility provided in GDAL. Added function calls
112            that can be accessed from python.
113    
114            * Data/iceland_sample_raster.thuban: New. Sample file that uses
115            a raster layer.
116    
117            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
118            layer image data.
119    
120            * Doc/thuban.dtd: Added rasterlayer attribute definition.
121    
122            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
123            tests associated with the raster layer code.
124    
125            * test/test_transientdb.py
126            (TestTransientTable.test_auto_transient_table_query): Added a test
127            for using a Column object as the "right" parameter to a query.
128    
129    2003-05-19  Frank Koormann  <[email protected]>
130    
131            * Thuban/version.py (get_changelog_date):
132            Catch exceptions if ChangeLog does not exist.
133    
134            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
135    
136    2003-05-19  Frank Koormann  <[email protected]>
137    
138            Extended version information for Thuban
139    
140            * Thuban/version.py: New, version information for Thuban: Last
141            modification date and last ChangeLog entry date.
142    
143            * Thuban/UI/mainwindow.py (MainWindow.About()): Extended version
144            information: Display Thuban, wxPython and Python version.
145    
146    2003-05-16  Bernhard Herzog  <[email protected]>
147    
148            * Thuban/Model/save.py: Remove some unused imports including the
149            __future__ import for nested_scopes as Thuban relies on Python 2.2
150            now.
151            (XMLWriter.encode): Remove the special case for a None argument.
152            In the saver encode is always called with a string argument.
153    
154    2003-05-16  Bernhard Herzog  <[email protected]>
155    
156            * Thuban/UI/__init__.py: Remove the work-around for the locale bug
157            in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom
158            of the bug was that e.g. float("1.2") would fail. Thuban now
159            requires 2.4.x.
160            
161    2003-05-16  Frank Koormann   <[email protected]>
162    
163            Printing enhancement and WMF export (under Win32)
164    
165            * Thuban/UI/renderer.py (ExportRenderer): New, derived from
166            ScreenRenderer. Renders Map, Legend and Scalebar for export.
167            (PrinterRenderer): New, derived from ExportRenderer. Replaces the old
168            PrintRender.
169    
170            * Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set
171            to fullfil information needed for PrinterRenderer.
172            (MapCanvas.Export): New. Export Map (currently only to WMF on Win32).
173            (MapCanvas.Print): Adapted to new MapPrintout.
174            (OutputTransform): General calculations to transform from canvas
175            coordinates to export/printing devices.
176    
177            * Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also
178            new method_command to call ExportMap, with platform dependency (only
179            __WXMSW__)
180      
181            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size
182            of scalebar drawing area as new parameters.
183            
184            * Thuban/Model/scalebar.py (roundInterval): round long instead of int
185    
186            * Thuban/UI/legend.py (ScalebarBitmap.__SetScale):
187            Update to extended scalebar.DrawScalebar header.
188    
189            * test/test_export.py: New, test Thuban.UI.view.OutputTransform()
190    
191            * test/test_scalebar.py: Made test executable as standalone.
192    
193    2003-05-16  Bernhard Herzog  <[email protected]>
194    
195            * Thuban/Model/table.py (Table): Remove this compatibility alias
196            for DBFTable.
197    
198            * test/test_table.py: Import DBFTable as Table because that alias
199            doesn't exist anymore.
200    
201            * Thuban/UI/classgen.py: Remove some unused imports
202    
203    2003-05-14  Jonathan Coles   <[email protected]>
204    
205            * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):
206            Fix docstring.
207            (ClassGenerator.GenUniformDistribution): Fix spelling of method name.
208            (ClassGenerator.GenQuantiles): Use the left/right brackets and min/max
209            values of the supplied range to determine the beginning and end
210            bounds of the generated classes.
211    
212            * Thuban/Model/range.py (Range.number_re): Now accepts floats that
213            do not have a leading 0 (.5 is now accepted as well as 0.5).
214    
215            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method
216            call to ClassGenerator.GenUniformDistribution.
217    
218            * Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows
219            layout bug with the 'Projection' label.
220    
221            * test/support.py (FloatTestCase): New. Needed for the Range tests.
222    
223            * test/test_range.py: New. Imported from SciParam.
224    
225    2003-05-12  Jonathan Coles   <[email protected]>
226    
227            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call
228            to table.UniqueValues() with calls that retrieve all the values
229            from the table. This will need to be replaced by a method on table
230            which can simply return the list (perhaps more efficiently).
231    
232    2003-05-12  Jonathan Coles   <[email protected]>
233    
234            The return value of ClassGenerator.CalculateQuantiles has changed.
235            Refer to the documentation for details.
236    
237            * test/test_classgen.py: Modified Quantile tests to use the
238            new return values.
239    
240            * Thuban/Model/classgen.py
241            (ClassGenerator.GenQuantiles): Add comments describing the parameters,
242            use new return values from CalculateQuantiles to produce the correct
243            range bounds in the Classification.
244            (ClassGenerator.CalculateQuantiles): Add more comments describing
245            the return values and parameters. Make minor adjustments to improve
246            the legibility of the code. Fix problem with adjusted not being set
247            in most cases.
248    
249  2003-05-12  Frank Koormann <[email protected]>  2003-05-12  Frank Koormann <[email protected]>
250                    
251          * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode          * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode
# Line 5  Line 253 
253    
254  2003-05-09  Jonathan Coles   <[email protected]>  2003-05-09  Jonathan Coles   <[email protected]>
255    
256            * test/test_classgen.py: New. Tests the Quantile algorithm.
257    
258            * Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles):
259            Clean up debugging statement, add comments, fix a small bug in the
260            returned adjusted percentiles.
261            
262    2003-05-09  Jonathan Coles   <[email protected]>
263    
264          Introduces Range class from SciParam into the ClassGroupRange class,          Introduces Range class from SciParam into the ClassGroupRange class,
265          and such ranges can now be saved and loaded from disk.          and such ranges can now be saved and loaded from disk.
266    

Legend:
Removed from v.893  
changed lines
  Added in v.958

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26