/[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 952 by frank, Wed May 21 14:21:23 2003 UTC revision 1011 by frank, Fri May 23 08:27:45 2003 UTC
# Line 1  Line 1 
1    2003-05-22  Frank Koormann  <[email protected]>
2    
3            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
4            Added "outer_join = False" as optional parameter.
5            (TransientJoinedTable.create): If outer join is true, perform a
6            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
7            the left table. Records not matching are filled with 0 / None.
8    
9            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
10            (JoinDialog.OnJoin): Consider outer join check box.
11    
12    2003-05-22  Bernhard Herzog  <[email protected]>
13    
14            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
15            somewhat safer way. Storing the traceback in a local variable can
16            lead to memory leaks
17    
18    2003-05-22  Bernhard Herzog  <[email protected]>
19    
20            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
21            the wxMessageDialog's Destroy() method.
22    
23    2003-05-22  Frank Koormann  <[email protected]>
24    
25            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
26            TransientTable.Title()
27    
28    2003-05-22  Frank Koormann  <[email protected]>
29    
30            Join Dialog, initial version.
31    
32            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
33    
34            * Thuban/UI/join.py (JoinDialog): Functional implementation of
35            former framework. Renamed Table1/Table2 to LeftTable/RightTable
36            in all occurences.
37    
38            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
39            Typo fixed.
40    
41    2003-05-22  Bernhard Herzog  <[email protected]>
42    
43            Give the tables titles so that the GUI can display more meaningful
44            names. For now the titles are fixed but depend on e.g. filenames
45            or the titles of the joined tables.
46    
47            * Thuban/Model/transientdb.py (TransientTable.Title)
48            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
49    
50            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
51    
52            * test/test_transientdb.py
53            (TestTransientTable.test_auto_transient_table_title): New. Test
54            for the Title method
55            (TestTransientTable.test_transient_joined_table)
56            (TestTransientTable.test_transient_table): Add test for the Title
57            methods
58    
59            * test/test_memory_table.py (TestMemoryTable.test_title): New.
60            Test for the Title method
61    
62            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
63            the Title method
64    
65    2003-05-22  Bernhard Herzog  <[email protected]>
66    
67            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
68            Provide a better way to destroy the layers
69            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
70            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
71            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
72            the new way to destroy the layers.
73            (TestLayer.test_derived_store): New. Test for using a layer with a
74            DerivedShapeStore
75    
76            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
77            filename if the shape store actually has one.
78    
79    2003-05-22  Bernhard Herzog  <[email protected]>
80    
81            * Thuban/Model/table.py (DBFTable.FileName): New. Accessor method
82            for the filename
83    
84            * test/test_dbf_table.py (TestDBFTable.test_filename): New. Test
85            for the FileName method
86            (TestDBFTableWriting.test_write): Fix spelling of filename
87    
88    2003-05-22  Thomas Koester  <[email protected]>
89    
90            * Thuban/Model/range.py, test/test_range.py: Brought over new Range
91            from SciParam that now really is immutable.
92    
93    2003-05-22  Frank Koormann  <[email protected]>
94    
95            Layer Top/Bottom placement added to legend.
96    
97            * Thuban/UI/legend.py
98            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
99            bound to tool events.
100            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
101            New, methods binding the event methods with the map methods.
102    
103            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
104            layer at top/bottom of layer stack.
105    
106            * Resources/Bitmaps/top_layer.xpm: New button icon.
107    
108            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
109    
110    2003-05-22  Bernhard Herzog  <[email protected]>
111    
112            * Thuban/Model/session.py (Session.RemoveTable): New method to
113            remove tables
114    
115            * test/test_session.py (TestSessionSimple.test_remove_table): New.
116            Test for RemoveTable
117    
118    2003-05-22  Thomas Koester  <[email protected]>
119    
120            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
121            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
122    
123    2003-05-22  Bernhard Herzog  <[email protected]>
124    
125            Implement a way to discover dependencies between tables and
126            shapestores.
127    
128            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
129            (TransientJoinedTable.Dependencies)
130            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
131            interface
132            (TransientJoinedTable.__init__): Keep tack of the original table
133            objects in addition to the corresponding transient tables.
134    
135            * Thuban/Model/table.py (DBFTable.Dependencies)
136            (MemoryTable.Dependencies): New. Implement the dependencies
137            interface
138    
139            * Thuban/Model/data.py (ShapeTable): New. Helper class for
140            ShapefileStore
141            (ShapefileStore.__init__): Use ShapeTable instead of
142            AutoTransientTable
143            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
144            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
145            methods for filename and type
146            (ShapefileStore.Dependencies): New. Implement the dependencies
147            interface
148            (DerivedShapeStore): New class to replace SimpleStore. The main
149            difference to SimpleStore is that it depends not on a shapefile
150            but another shapestore which expresses the dependencies a bit
151            better
152            (SimpleStore.__init__): Add deprecation warning.
153    
154            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
155            Test for the Dependencies method.
156    
157            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
158            New. Test for the Dependencies method.
159    
160            * test/test_transientdb.py
161            (TestTransientTable.test_auto_transient_table_dependencies): New.
162            Test for the Dependencies method.
163            (TestTransientTable.test_transient_joined_table): Add test for the
164            Dependencies method.
165    
166            * test/test_session.py (TestSessionSimple.setUp)
167            (TestSessionSimple.tearDown): New. Implement a better way to
168            destroy the sessions.
169            (TestSessionSimple.test_initial_state)
170            (TestSessionSimple.test_add_table): Bind session to self.session
171            so that it's destroyed by tearDown
172            (TestSessionSimple.test_open_shapefile): New. Test for
173            OpenShapefile and the object it returns
174    
175    2003-05-22  Bernhard Herzog  <[email protected]>
176    
177            * Thuban/Model/session.py (Session.AddTable): New method to
178            register tables with the session.
179            (Session.Tables): Return the tables registered with AddTable too.
180    
181            * test/test_session.py (TestSessionSimple.test_add_table): New.
182            Test case for the AddTable method
183    
184    2003-05-22  Frank Koormann  <[email protected]>
185    
186            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
187            lower right corner, center labels for selections, initialize controls
188            in reasonable order for keyboard navigation.
189    
190            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
191            (ProjFrame.__DoOnProjAvail): Determine position of current projection
192            using the wxListBox.FindString() method. Still a problem (#1886)
193    
194            * Thuban/UI/classifier.py
195            (Classifier.__init__, SelectPropertiesDialog.__init__)
196    
197            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
198            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
199            different classification types from here to __init__.
200            (GenUniquePanel.__init__): Set the column width of the first field
201            in the Field ListCtrl to the full width.
202    
203            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
204            Button to 'Export'. Center Buttons in Selection Box, set Focus to
205            Grid.
206            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
207            changes focus to the Selection when pressing "Alt-S".
208    
209            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
210            the text if not visible. The italic font sometimes exceeds the
211            rendering area.
212    
213    2003-05-21  Jonathan Coles   <[email protected]>
214    
215            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
216            to OnClose so that Thuban closes correctly.
217    
218            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
219            DockFrame.OnClose, not DockFrame._OnClose.
220    
221    2003-05-21  Jonathan Coles   <[email protected]>
222    
223            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
224            references to 'inf' and use new Range __init__ to pass floats
225            directly rather than converting them to strings first.
226            Fixes RTBug #1876.
227    
228            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
229            Use new Range ___init__ to pass floats.
230    
231            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
232            filename is a valid image file. Throw IOError otherwise.
233    
234            * Thuban/Model/range.py: Brought over new Range from SciParam that
235            is immutable and has an __init__ which can accept floats.
236    
237            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
238            into try block. AddLayer doesn't throw any exceptions anymore.
239            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
240            try block.
241    
242            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
243            the first item in choices. Fixes RTBug #1882.
244    
245            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
246            has gone to 0 which is a serious problem. abort.
247            (MapRenderer.draw_raster_layer): Catch IOError seperately and
248            print the error from GDAL.
249    
250            * Thuban/UI/tableview.py (TableGrid.__init__): Call
251            ToggleEventListeners to turn on listening.
252            (TableGrid.ToggleEventListeners): New. Turns event listening on
253            and off so as to prevent excessive messages.
254            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
255            to suppress excessive messages when selecting many rows.
256            Fixes RTBug #1880.
257    
258            * Thuban/UI/view.py: Added checks against if scale == 0. This
259            is a serious problem that can occur when an image without
260            geo data is loading and causes the map projection bounds to
261            go to infinity. Right now, the solution is to simply try
262            to recover.
263    
264            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
265            to set the MFILEReceiver attributes even if the data is NULL.
266    
267            * extensions/thuban/gdalwarp.cpp: Improved the error handling
268            and passed GDAL messages back up to the Python layer. Also
269            tried to fix some memory leaks that were present in the original
270            utility but didn't matter because the program aborted.
271    
272            * test/test_range.py: Copied over tests from SciParam. Removed
273            tests against importing. Fixes RTBug #1867.
274    
275    2003-05-21  Bernhard Herzog  <[email protected]>
276    
277            * test/test_load.py: Remove unused imports and restructure the
278            test code
279            (LoadSessionTest): Split into one class for each test and turn
280            LoadSessionTest itself into the base class for all such session
281            tests.
282            (ClassificationTest): New base class for load tests that test
283            classifications
284            (TestSingleLayer, TestLayerVisibility, TestClassification)
285            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
286            for the individual tests
287    
288            * test/support.py (FileLoadTestCase.filename): New base class for
289            file loading tests
290    
291    2003-05-21  Jan-Oliver Wagner <[email protected]>
292    
293            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
294            Mercator' to 'UTM Zone 32' as a more convenient example.
295            Added 'Gauss Krueger Zone 6'.
296    
297            * Data/iceland_sample_raster.thuban: political polygon now
298            filled transparent to have the raster image visible at once.
299    
300  2003-05-21  Frank Koormann  <[email protected]>  2003-05-21  Frank Koormann  <[email protected]>
301    
302          * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to          * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to

Legend:
Removed from v.952  
changed lines
  Added in v.1011

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26