/[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 906 by jonathan, Wed May 14 11:16:59 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]>
99    
100            * Thuban/version.py (get_changelog_date):
101            Catch exceptions if ChangeLog does not exist.
102    
103            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
104    
105    2003-05-19  Frank Koormann  <[email protected]>
106    
107            Extended version information for Thuban
108    
109            * Thuban/version.py: New, version information for Thuban: Last
110            modification date and last ChangeLog entry date.
111    
112            * Thuban/UI/mainwindow.py (MainWindow.About()): Extended version
113            information: Display Thuban, wxPython and Python version.
114    
115    2003-05-16  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/Model/save.py: Remove some unused imports including the
118            __future__ import for nested_scopes as Thuban relies on Python 2.2
119            now.
120            (XMLWriter.encode): Remove the special case for a None argument.
121            In the saver encode is always called with a string argument.
122    
123    2003-05-16  Bernhard Herzog  <[email protected]>
124    
125            * Thuban/UI/__init__.py: Remove the work-around for the locale bug
126            in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom
127            of the bug was that e.g. float("1.2") would fail. Thuban now
128            requires 2.4.x.
129            
130    2003-05-16  Frank Koormann   <[email protected]>
131    
132            Printing enhancement and WMF export (under Win32)
133    
134            * Thuban/UI/renderer.py (ExportRenderer): New, derived from
135            ScreenRenderer. Renders Map, Legend and Scalebar for export.
136            (PrinterRenderer): New, derived from ExportRenderer. Replaces the old
137            PrintRender.
138    
139            * Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set
140            to fullfil information needed for PrinterRenderer.
141            (MapCanvas.Export): New. Export Map (currently only to WMF on Win32).
142            (MapCanvas.Print): Adapted to new MapPrintout.
143            (OutputTransform): General calculations to transform from canvas
144            coordinates to export/printing devices.
145    
146            * Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also
147            new method_command to call ExportMap, with platform dependency (only
148            __WXMSW__)
149      
150            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size
151            of scalebar drawing area as new parameters.
152            
153            * Thuban/Model/scalebar.py (roundInterval): round long instead of int
154    
155            * Thuban/UI/legend.py (ScalebarBitmap.__SetScale):
156            Update to extended scalebar.DrawScalebar header.
157    
158            * test/test_export.py: New, test Thuban.UI.view.OutputTransform()
159    
160            * test/test_scalebar.py: Made test executable as standalone.
161    
162    2003-05-16  Bernhard Herzog  <[email protected]>
163    
164            * Thuban/Model/table.py (Table): Remove this compatibility alias
165            for DBFTable.
166    
167            * test/test_table.py: Import DBFTable as Table because that alias
168            doesn't exist anymore.
169    
170            * Thuban/UI/classgen.py: Remove some unused imports
171    
172  2003-05-14  Jonathan Coles   <[email protected]>  2003-05-14  Jonathan Coles   <[email protected]>
173    
174          * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):          * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26