/[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 949 by jonathan, Tue May 20 15:27:40 2003 UTC revision 986 by tkoester, Thu May 22 16:41:10 2003 UTC
# Line 1  Line 1 
1    2003-05-22  Thomas Koester  <[email protected]>
2    
3            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
4            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
5    
6    2003-05-22  Bernhard Herzog  <[email protected]>
7    
8            Implement a way to discover dependencies between tables and
9            shapestores.
10    
11            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
12            (TransientJoinedTable.Dependencies)
13            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
14            interface
15            (TransientJoinedTable.__init__): Keep tack of the original table
16            objects in addition to the corresponding transient tables.
17    
18            * Thuban/Model/table.py (DBFTable.Dependencies)
19            (MemoryTable.Dependencies): New. Implement the dependencies
20            interface
21    
22            * Thuban/Model/data.py (ShapeTable): New. Helper class for
23            ShapefileStore
24            (ShapefileStore.__init__): Use ShapeTable instead of
25            AutoTransientTable
26            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
27            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
28            methods for filename and type
29            (ShapefileStore.Dependencies): New. Implement the dependencies
30            interface
31            (DerivedShapeStore): New class to replace SimpleStore. The main
32            difference to SimpleStore is that it depends not on a shapefile
33            but another shapestore which expresses the dependencies a bit
34            better
35            (SimpleStore.__init__): Add deprecation warning.
36    
37            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
38            Test for the Dependencies method.
39    
40            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
41            New. Test for the Dependencies method.
42    
43            * test/test_transientdb.py
44            (TestTransientTable.test_auto_transient_table_dependencies): New.
45            Test for the Dependencies method.
46            (TestTransientTable.test_transient_joined_table): Add test for the
47            Dependencies method.
48    
49            * test/test_session.py (TestSessionSimple.setUp)
50            (TestSessionSimple.tearDown): New. Implement a better way to
51            destroy the sessions.
52            (TestSessionSimple.test_initial_state)
53            (TestSessionSimple.test_add_table): Bind session to self.session
54            so that it's destroyed by tearDown
55            (TestSessionSimple.test_open_shapefile): New. Test for
56            OpenShapefile and the object it returns
57    
58    2003-05-22  Bernhard Herzog  <[email protected]>
59    
60            * Thuban/Model/session.py (Session.AddTable): New method to
61            register tables with the session.
62            (Session.Tables): Return the tables registered with AddTable too.
63    
64            * test/test_session.py (TestSessionSimple.test_add_table): New.
65            Test case for the AddTable method
66    
67    2003-05-22  Frank Koormann  <[email protected]>
68    
69            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
70            lower right corner, center labels for selections, initialize controls
71            in reasonable order for keyboard navigation.
72    
73            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
74            (ProjFrame.__DoOnProjAvail): Determine position of current projection
75            using the wxListBox.FindString() method. Still a problem (#1886)
76    
77            * Thuban/UI/classifier.py
78            (Classifier.__init__, SelectPropertiesDialog.__init__)
79    
80            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
81            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
82            different classification types from here to __init__.
83            (GenUniquePanel.__init__): Set the column width of the first field
84            in the Field ListCtrl to the full width.
85    
86            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
87            Button to 'Export'. Center Buttons in Selection Box, set Focus to
88            Grid.
89            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
90            changes focus to the Selection when pressing "Alt-S".
91    
92            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
93            the text if not visible. The italic font sometimes exceeds the
94            rendering area.
95    
96    2003-05-21  Jonathan Coles   <[email protected]>
97    
98            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
99            to OnClose so that Thuban closes correctly.
100    
101            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
102            DockFrame.OnClose, not DockFrame._OnClose.
103    
104    2003-05-21  Jonathan Coles   <[email protected]>
105    
106            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
107            references to 'inf' and use new Range __init__ to pass floats
108            directly rather than converting them to strings first.
109            Fixes RTBug #1876.
110    
111            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
112            Use new Range ___init__ to pass floats.
113    
114            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
115            filename is a valid image file. Throw IOError otherwise.
116    
117            * Thuban/Model/range.py: Brought over new Range from SciParam that
118            is immutable and has an __init__ which can accept floats.
119    
120            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
121            into try block. AddLayer doesn't throw any exceptions anymore.
122            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
123            try block.
124    
125            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
126            the first item in choices. Fixes RTBug #1882.
127    
128            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
129            has gone to 0 which is a serious problem. abort.
130            (MapRenderer.draw_raster_layer): Catch IOError seperately and
131            print the error from GDAL.
132    
133            * Thuban/UI/tableview.py (TableGrid.__init__): Call
134            ToggleEventListeners to turn on listening.
135            (TableGrid.ToggleEventListeners): New. Turns event listening on
136            and off so as to prevent excessive messages.
137            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
138            to suppress excessive messages when selecting many rows.
139            Fixes RTBug #1880.
140    
141            * Thuban/UI/view.py: Added checks against if scale == 0. This
142            is a serious problem that can occur when an image without
143            geo data is loading and causes the map projection bounds to
144            go to infinity. Right now, the solution is to simply try
145            to recover.
146    
147            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
148            to set the MFILEReceiver attributes even if the data is NULL.
149    
150            * extensions/thuban/gdalwarp.cpp: Improved the error handling
151            and passed GDAL messages back up to the Python layer. Also
152            tried to fix some memory leaks that were present in the original
153            utility but didn't matter because the program aborted.
154    
155            * test/test_range.py: Copied over tests from SciParam. Removed
156            tests against importing. Fixes RTBug #1867.
157    
158    2003-05-21  Bernhard Herzog  <[email protected]>
159    
160            * test/test_load.py: Remove unused imports and restructure the
161            test code
162            (LoadSessionTest): Split into one class for each test and turn
163            LoadSessionTest itself into the base class for all such session
164            tests.
165            (ClassificationTest): New base class for load tests that test
166            classifications
167            (TestSingleLayer, TestLayerVisibility, TestClassification)
168            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
169            for the individual tests
170    
171            * test/support.py (FileLoadTestCase.filename): New base class for
172            file loading tests
173    
174    2003-05-21  Jan-Oliver Wagner <[email protected]>
175    
176            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
177            Mercator' to 'UTM Zone 32' as a more convenient example.
178            Added 'Gauss Krueger Zone 6'.
179    
180            * Data/iceland_sample_raster.thuban: political polygon now
181            filled transparent to have the raster image visible at once.
182    
183    2003-05-21  Frank Koormann  <[email protected]>
184    
185            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
186            OnClose() to keep in sync with extensions. Internally Thuban
187            still uses "underscored" names.
188    
189  2003-05-20  Jonathan Coles   <[email protected]>  2003-05-20  Jonathan Coles   <[email protected]>
190    
191          This puts back Raster layer support. These layers support projections          This puts back Raster layer support. These layers support projections

Legend:
Removed from v.949  
changed lines
  Added in v.986

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26