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

Legend:
Removed from v.927  
changed lines
  Added in v.971

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26