/[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 2597 by bh, Thu Apr 7 19:46:29 2005 UTC revision 2626 by jonathan, Thu May 12 14:54:50 2005 UTC
# Line 1  Line 1 
1    2005-05-12  Jonathan Coles <[email protected]>
2            
3            * Thuban/UI/projdialog.py: Add missing import, which led to an
4            exception when opening a layer's projection.
5    
6    2005-05-09  Bernhard Herzog  <[email protected]>
7    
8            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
9    
10    2005-05-09  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
13            connection to autoconnect.  Fixes RT#3148.
14    
15            * test/test_postgis_db.py
16            (TestPostGISSpecialCases.test_simple_error_handling): New test
17            that attempts to reproduce RT#3148.
18    
19    2005-05-06  Jonathan Coles <[email protected]>
20    
21            Add support for saving and loading the opacity and mask type
22            properties of RasterLayers. Also add support for proper use
23            of alpha information while drawing images not in 'RAW' format.
24            If transparency in an image format (e.g, PNG) is supported by
25            wxWidgets then the image would previously have been draw with
26            transparent regions, but the opaque regions would have been
27            unaffected by a change in the layer's opacity. This patch
28            corrects the problem.
29    
30            * Thuban/Model/layer.py (RasterLayer): Added opacity and
31            masktype parameters to the constructor, and set the
32            appropriate variables to those values.
33    
34            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
35            code to read the opacity and mask type of the layer and construct
36            a new layer with the additional parameters.
37    
38            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
39            to save the opacity and mask type of a layer.
40    
41            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
42            the opacity of the layer to draw_raster_data rather than the layer.
43            (BaseRenderer.draw_raster_data): Remove the layer parameter because
44            the function doesn't need to know about the layer. Add the optional
45            opacity parameter whose default is 1.0. Add 'PNG' as a supported
46            graphics format.
47    
48            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
49            signature to match that in BaseRenderer. Use the new opacity argument
50            in place of calling layer.Opacity(). In the case where the
51            format is not 'RAW', alpha_data is None and the loaded image has
52            alpha information, use the file's alpha information. This is
53            still subject to the layer's opacity setting.
54    
55            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
56            Fixed signature to match that in BaseRenderer.
57    
58            * test/test_load.py (TestRasterLayer): Change file_contents to
59            include opacity and masktype variables.
60            (TestRasterLayer.test): Include tests for opacity and masktype
61            changes.
62    
63            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
64            test to cover a variety of combinations of masktype and opacity
65            settings.
66    
67    2005-05-02  Jan-Oliver Wagner <[email protected]>
68    
69            * debian/rules: add --use-wx-python-swig-hack
70            to the build command.
71            Thanks to Moritz Lennert for pointing this out.
72    
73    2005-04-28  Jan-Oliver Wagner <[email protected]>
74    
75            Introduce OGRFileShapeStore in ogr extension.
76            This allows at least that loaded shapefile shape stores
77            can be saved correctly in the thuban session file
78            and reloaded again (reload is via core shapefile
79            routine, not OGR). For other types, .thuban files
80            can not be reloaded for the time being.
81    
82            * Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This
83            class ist to be used for any file-based shape stores
84            accessed through OGR.
85    
86            * Extensions/ogr/ogrstart.py (open_with_ogr): Added
87            forgotten _ for i18n. Adapted call OpenFileShapestore
88            regarding new parameter.
89            (OpenFileShapestore): Use OGRFileShapeStore instead of
90            OGRShapeStore. Fix return value (None instead of null).
91            Add new parameter "mainwindow" to avoid accessing global
92            context.
93    
94    2005-04-27  Jan-Oliver Wagner <[email protected]>
95    
96            Introduce FileShapeStore as generalization for
97            file-based shape stores. In a first instance
98            this allows additional modules to handle shapefile
99            format as well, namely the OGR extension.
100    
101            * Thuban/Model/data.py: Various small fixes in doc-strings.
102            (FileShapeStore): New class.
103            (ShapefileStore): Derive from FileShapeStore.
104            (ShapefileStore.__init__): Call __init__ of FileShapeStore,
105            rename self.table to self._table, initialize self._bbox
106            (ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
107            and self.FileName() instead of self.filename.
108            (ShapefileStore.Table): Use self._table instead of self.table.
109            (ShapefileStore.FileName): Removed (moved to FileShapeStore).
110            (ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
111    
112            * Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
113            (SessionSaver.write_data_containers): Only use methods of the
114            base class FileShapeStore.
115    
116    2005-04-26  Martin Schulze  <[email protected]>
117    
118            * Extensions/wms/wms.py (render_wms_layer): Adjusted the render
119            function to the modified render engine
120    
121    2005-04-25  Martin Schulze  <[email protected]>
122    
123            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
124            Added a description according to the CVS log message
125    
126    2005-04-23  Martin Schulze  <[email protected]>
127    
128            * Thuban/UI/renderer.py: Added a missing import
129    
130    2005-04-23  Russell Nelson  <[email protected]>
131    
132            * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
133            way the previous tool is remembered, so that middle-button
134            panning works even if you haven't selected a tool.
135    
136    2005-04-11  Bernhard Herzog  <[email protected]>
137    
138            * libraries/thuban/wxproj.cpp: Move the compatibility code that
139            deals with the wxPython 2.4 version of wxPython.h into the #ifdef
140            branch that includes wxPython.h because it's only needed when
141            wxPython.h is used.  Also, it won't compile when
142            USE_WX_PYTHON_SWIG_HACK is set otherwise.
143    
144  2005-04-07  Bernhard Herzog  <[email protected]>  2005-04-07  Bernhard Herzog  <[email protected]>
145    
146          * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.          * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.

Legend:
Removed from v.2597  
changed lines
  Added in v.2626

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26