/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26