/[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 952 by frank, Wed May 21 14:21:23 2003 UTC
# Line 1  Line 1 
1    2003-05-21  Frank Koormann  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
4            OnClose() to keep in sync with extensions. Internally Thuban
5            still uses "underscored" names.
6    
7    2003-05-20  Jonathan Coles   <[email protected]>
8    
9            This puts back Raster layer support. These layers support projections
10            through the GDAL library. Currently, the CVS version is being used.
11            There are no Debian packages available although this may change soon.
12            A GDAL driver was extended to support writing to memory rather to
13            files.
14    
15            There is still some work that needs to be done, such as some error
16            handling when loading invalid images or when there is a problem
17            projecting the image. This putback simply checks in the majority
18            of the work.
19    
20            * setup.py: Add gdalwarp library extension.
21    
22            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
23            Defaults to False, but can be overridden by subclasses if they
24            support classification.
25            (RasterLayer): New. Defines a new layer that represents an
26            image.
27    
28            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
29            tag handler.
30            (SessionLoader.start_layer): Encode the filename.
31            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
32            New. Supports reading a rasterlayer tag.
33    
34            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
35    
36            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
37            get a string in Latin1. If we get such as string convert it to
38            unicode first, otherwise leave if alone before encoding.
39            (SessionSaver.write_layer): Add support for writing both Layers
40            and RasterLayers.
41    
42            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
43            The right argument may not be a string, it could also be a Column.
44    
45            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
46            Make initial window size 600x400. Fixes RTBug #1872.
47    
48            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
49            the dialog is constructed so that we can support layers that
50            do not have classifications.
51            (Classifier._OnTry): Only build a classification if the layer
52            supports one.
53    
54            * Thuban/UI/legend.py: Change all checks that a layer is an
55            instance of Layer into checks against BaseLayer.
56            (LegendTree.__FillTreeLayer): Only add children to a branch if
57            the layer supports classification.
58    
59            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
60            MainWindow.OpenSession): Don't proceed with an action if the
61            user chooses Cancel when they are asked to save changes.
62            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
63            user to select an image file. Create a new RasterLayer and add
64            it to the map.
65    
66            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
67            for rendering RasterLayer layers.
68            (MapRenderer.draw_raster_layer): Actually method that calls
69            the GDALWarp python wrapper and constructs an image from the
70            data returned.
71    
72            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
73            Choices symbols to match those used in the table query method.
74            Replace deprecated method calls on table with new method names.
75    
76            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
77            how small the scale can get. This still needs more testing.
78    
79            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
80            Provides a driver to output in .bmp format.
81    
82            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
83            New. Provides IO routines which write to memory, rather than a file.
84    
85            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
86            of the gdalwarp utility provided in GDAL. Added function calls
87            that can be accessed from python.
88    
89            * Data/iceland_sample_raster.thuban: New. Sample file that uses
90            a raster layer.
91    
92            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
93            layer image data.
94    
95            * Doc/thuban.dtd: Added rasterlayer attribute definition.
96    
97            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
98            tests associated with the raster layer code.
99    
100            * test/test_transientdb.py
101            (TestTransientTable.test_auto_transient_table_query): Added a test
102            for using a Column object as the "right" parameter to a query.
103    
104  2003-05-19  Frank Koormann  <[email protected]>  2003-05-19  Frank Koormann  <[email protected]>
105    
106          * Thuban/version.py (get_changelog_date):          * Thuban/version.py (get_changelog_date):

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26