/[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 919 by bh, Fri May 16 17:29:48 2003 UTC revision 975 by jonathan, Wed May 21 17:39:51 2003 UTC
# Line 1  Line 1 
1    2003-05-21  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
4            to OnClose so that Thuban closes correctly.
5    
6            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
7            DockFrame.OnClose, not DockFrame._OnClose.
8    
9    2003-05-21  Jonathan Coles   <[email protected]>
10    
11            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
12            references to 'inf' and use new Range __init__ to pass floats
13            directly rather than converting them to strings first.
14            Fixes RTBug #1876.
15    
16            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
17            Use new Range ___init__ to pass floats.
18    
19            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
20            filename is a valid image file. Throw IOError otherwise.
21    
22            * Thuban/Model/range.py: Brought over new Range from SciParam that
23            is immutable and has an __init__ which can accept floats.
24    
25            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
26            into try block. AddLayer doesn't throw any exceptions anymore.
27            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
28            try block.
29    
30            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
31            the first item in choices. Fixes RTBug #1882.
32    
33            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
34            has gone to 0 which is a serious problem. abort.
35            (MapRenderer.draw_raster_layer): Catch IOError seperately and
36            print the error from GDAL.
37    
38            * Thuban/UI/tableview.py (TableGrid.__init__): Call
39            ToggleEventListeners to turn on listening.
40            (TableGrid.ToggleEventListeners): New. Turns event listening on
41            and off so as to prevent excessive messages.
42            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
43            to suppress excessive messages when selecting many rows.
44            Fixes RTBug #1880.
45    
46            * Thuban/UI/view.py: Added checks against if scale == 0. This
47            is a serious problem that can occur when an image without
48            geo data is loading and causes the map projection bounds to
49            go to infinity. Right now, the solution is to simply try
50            to recover.
51    
52            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
53            to set the MFILEReceiver attributes even if the data is NULL.
54    
55            * extensions/thuban/gdalwarp.cpp: Improved the error handling
56            and passed GDAL messages back up to the Python layer. Also
57            tried to fix some memory leaks that were present in the original
58            utility but didn't matter because the program aborted.
59    
60            * test/test_range.py: Copied over tests from SciParam. Removed
61            tests against importing. Fixes RTBug #1867.
62    
63    2003-05-21  Bernhard Herzog  <[email protected]>
64    
65            * test/test_load.py: Remove unused imports and restructure the
66            test code
67            (LoadSessionTest): Split into one class for each test and turn
68            LoadSessionTest itself into the base class for all such session
69            tests.
70            (ClassificationTest): New base class for load tests that test
71            classifications
72            (TestSingleLayer, TestLayerVisibility, TestClassification)
73            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
74            for the individual tests
75    
76            * test/support.py (FileLoadTestCase.filename): New base class for
77            file loading tests
78    
79    2003-05-21  Jan-Oliver Wagner <[email protected]>
80    
81            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
82            Mercator' to 'UTM Zone 32' as a more convenient example.
83            Added 'Gauss Krueger Zone 6'.
84    
85            * Data/iceland_sample_raster.thuban: political polygon now
86            filled transparent to have the raster image visible at once.
87    
88    2003-05-21  Frank Koormann  <[email protected]>
89    
90            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
91            OnClose() to keep in sync with extensions. Internally Thuban
92            still uses "underscored" names.
93    
94    2003-05-20  Jonathan Coles   <[email protected]>
95    
96            This puts back Raster layer support. These layers support projections
97            through the GDAL library. Currently, the CVS version is being used.
98            There are no Debian packages available although this may change soon.
99            A GDAL driver was extended to support writing to memory rather to
100            files.
101    
102            There is still some work that needs to be done, such as some error
103            handling when loading invalid images or when there is a problem
104            projecting the image. This putback simply checks in the majority
105            of the work.
106    
107            * setup.py: Add gdalwarp library extension.
108    
109            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
110            Defaults to False, but can be overridden by subclasses if they
111            support classification.
112            (RasterLayer): New. Defines a new layer that represents an
113            image.
114    
115            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
116            tag handler.
117            (SessionLoader.start_layer): Encode the filename.
118            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
119            New. Supports reading a rasterlayer tag.
120    
121            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
122    
123            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
124            get a string in Latin1. If we get such as string convert it to
125            unicode first, otherwise leave if alone before encoding.
126            (SessionSaver.write_layer): Add support for writing both Layers
127            and RasterLayers.
128    
129            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
130            The right argument may not be a string, it could also be a Column.
131    
132            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
133            Make initial window size 600x400. Fixes RTBug #1872.
134    
135            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
136            the dialog is constructed so that we can support layers that
137            do not have classifications.
138            (Classifier._OnTry): Only build a classification if the layer
139            supports one.
140    
141            * Thuban/UI/legend.py: Change all checks that a layer is an
142            instance of Layer into checks against BaseLayer.
143            (LegendTree.__FillTreeLayer): Only add children to a branch if
144            the layer supports classification.
145    
146            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
147            MainWindow.OpenSession): Don't proceed with an action if the
148            user chooses Cancel when they are asked to save changes.
149            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
150            user to select an image file. Create a new RasterLayer and add
151            it to the map.
152    
153            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
154            for rendering RasterLayer layers.
155            (MapRenderer.draw_raster_layer): Actually method that calls
156            the GDALWarp python wrapper and constructs an image from the
157            data returned.
158    
159            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
160            Choices symbols to match those used in the table query method.
161            Replace deprecated method calls on table with new method names.
162    
163            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
164            how small the scale can get. This still needs more testing.
165    
166            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
167            Provides a driver to output in .bmp format.
168    
169            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
170            New. Provides IO routines which write to memory, rather than a file.
171    
172            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
173            of the gdalwarp utility provided in GDAL. Added function calls
174            that can be accessed from python.
175    
176            * Data/iceland_sample_raster.thuban: New. Sample file that uses
177            a raster layer.
178    
179            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
180            layer image data.
181    
182            * Doc/thuban.dtd: Added rasterlayer attribute definition.
183    
184            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
185            tests associated with the raster layer code.
186    
187            * test/test_transientdb.py
188            (TestTransientTable.test_auto_transient_table_query): Added a test
189            for using a Column object as the "right" parameter to a query.
190    
191    2003-05-19  Frank Koormann  <[email protected]>
192    
193            * Thuban/version.py (get_changelog_date):
194            Catch exceptions if ChangeLog does not exist.
195    
196            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
197    
198    2003-05-19  Frank Koormann  <[email protected]>
199    
200            Extended version information for Thuban
201    
202            * Thuban/version.py: New, version information for Thuban: Last
203            modification date and last ChangeLog entry date.
204    
205            * Thuban/UI/mainwindow.py (MainWindow.About()): Extended version
206            information: Display Thuban, wxPython and Python version.
207    
208    2003-05-16  Bernhard Herzog  <[email protected]>
209    
210            * Thuban/Model/save.py: Remove some unused imports including the
211            __future__ import for nested_scopes as Thuban relies on Python 2.2
212            now.
213            (XMLWriter.encode): Remove the special case for a None argument.
214            In the saver encode is always called with a string argument.
215    
216  2003-05-16  Bernhard Herzog  <[email protected]>  2003-05-16  Bernhard Herzog  <[email protected]>
217    
218          * Thuban/UI/__init__.py: Remove the work-around for the locale bug          * Thuban/UI/__init__.py: Remove the work-around for the locale bug

Legend:
Removed from v.919  
changed lines
  Added in v.975

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26