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

Legend:
Removed from v.924  
changed lines
  Added in v.981

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26