/[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 2525 by bernhard, Thu Jan 20 10:00:34 2005 UTC revision 2544 by bh, Mon Jan 24 11:19:53 2005 UTC
# Line 1  Line 1 
1    2005-01-24  Bernhard Herzog  <[email protected]>
2    
3            Rework the status bar updates a bit to make sure the message about
4            the projections is produced at the right times.
5    
6            * Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
7            New class variable with messages that may require a status bar
8            update.
9            (MainWindow.view_position_changed)
10            (MainWindow.update_status_bar): Rename from view_position_changed
11            to update_status_bar.  It's meaning has changed now that it may
12            also generate messages about problems with projection settings.
13            (MainWindow.__init__): Use the new update_status_bar_messages
14            class variable to subscribe update_status_bar
15            (MainWindow.set_position_text): Update doc-string.  This method
16            has to be renamed at some point.  See doc-string and comments.
17            (MainWindow.OnClose): Unsubscribe update_status_bar from all
18            messages in update_status_bar_messages
19    
20            * Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
21            class attribute.  map messages to be forwarded by the viewport.
22            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
23            the messages in forwarded_map_messages
24    
25    2005-01-21  Bernhard Herzog  <[email protected]>
26    
27            * test/postgissupport.py (PostGISDatabase.__init__): Tweak
28            doc-string
29            (find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a
30            different name for the initialization SQL file.
31    
32    2005-01-21  Jonathan Coles <[email protected]>
33    
34            * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
35            a projection and returns a formatted string representing the
36            parameters to feed to gdalwarp. This function eliminates
37            redundancy in draw_raster_layer().
38            (BaseRenderer.render_map_incrementally): Removed the optimization which
39            drew the top most raster layer first and then only those vector-
40            based layers that are above it. With the support for transparency
41            this optimization breaks correct behaviour.
42            (BaseRenderer.draw_raster_layer): Reorganize code to support possible
43            future enhancements to raster layer bounding box. The old behaviour has
44            not changed. Also, change calling parameters to draw_raster_data()
45            to specify new RAW data format and mask.
46            (BaseRenderer.draw_raster_data): Change signature to include an optional
47            parameter for mask information. Change documentation to mention
48            support for new parameter and added option for RAW data format.
49            The data argument is now a list of [width, height, data].
50    
51            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional
52            mask parameter. Add new condition for RAW format, which
53            significantly reduces rendering time. Add condition for
54            mask parameter.
55    
56            * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
57            data array of RGB values from the projected image returned from
58            the gdal warping functions. In the case of palette based images, it
59            converts the NO_DATA index to the mask color.
60            (ProjectRasterFile): Removed all custom memory driver references
61            and replaced it with the standard in-memory dataset provided
62            by gdal. The return data is no longer a BMP file, but an array
63            of RGB values, one set triple per pixel.
64    
65            * libraries/thuban/bmpdataset.cpp: Removed. Unnecessary.
66            * libraries/thuban/cpl_mfile.h: Removed. Unnecessary.
67            * libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary.
68    
69            * setup.py (thuban_build_ext.finalize_options): Removed mention
70            of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
71            files. These are obsolete with the new version of gdalwarp.cpp
72    
73            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
74            Updated signature.
75            (TestBaseRenderer.test_raster_no_projection): Changed the test
76            data to be data in the uncompressed RAW format returned from
77            ProjectRasterFile.
78    
79    2005-01-21  Jan-Oliver Wagner <[email protected]>
80    
81            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made
82            string available for i18n.
83    
84    2005-01-20  Russell Nelson  <[email protected]>
85    
86            * Resources/Projections/defaults.proj: Ruin the speling of the
87            Lambert-93 projection so it doesn't run into the wx UTF-8 bug.
88            It's the wrong thing to do in the long run, but it's necessary for
89            those users until that bug is fixed.  Otherwise the projection
90            dialog segfaults.  Better to annoy some Lambert-93 users with a
91            spelling mistake than every Fedora Core 3 user of Thuban-CVS.
92    
93    2005-01-20  Bernhard Reiter <[email protected]>
94    
95            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added
96            docstring and comment that the warning code here is a hack.
97    
98    2005-01-20  Russell Nelson  <[email protected]>
99    
100            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn
101            user about misprojected layers when their lat/lon bounding
102            box exceeds rational lat/lon values.
103    
104    2005-01-20  Bernhard Reiter <[email protected]>
105    
106            * Thuban/UI/about.py (unicodeToLocale): Improved:
107            Use 'ascii' and then 'replace' for other characters
108            when getdefaultlocale returns None. Thanks to Bernhard H. .
109    
110    2005-01-20  Bernhard Reiter <[email protected]>
111    
112            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment
113            that OnRangeText might be called twice and using None as argument.
114    
115    2005-01-20  Bernhard Reiter <[email protected]>
116    
117            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a
118            OnRangeText(0) to work around a different in wx Behaviour noticed
119            on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
120    
121  2005-01-20  Bernhard Reiter <[email protected]>  2005-01-20  Bernhard Reiter <[email protected]>
122    
123          * Thuban/UiI/about.py: take iso-8859-15 when getdefaultlocale returns          * Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
124          None. (Fixes rt#2910.)          None. (Fixes rt#2910.)
125                    
126  2005-01-18  Frank Koormann <[email protected]>  2005-01-18  Frank Koormann <[email protected]>

Legend:
Removed from v.2525  
changed lines
  Added in v.2544

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26