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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26