/[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 2570 by jan, Thu Feb 17 11:02:46 2005 UTC revision 2571 by jonathan, Fri Feb 18 14:54:17 2005 UTC
# Line 1  Line 1 
1    2005-02-18  Jonathan Coles <[email protected]>
2    
3            Refactored baserenderer.py and renderer.py to remove baserenderer.py's
4            dependencies on wxPython. Added a new method projected_raster_layer()
5            that returns a raster layer image in projected space. This must be
6            implemented in classes derived from BaseRenderer. This also eliminates
7            the dependency on gdal in baserenderer.py.
8    
9            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Call
10            new projected_raster_layer() to get projected raster image instead
11            of directly calling ProjectRasterFile().
12            (BaseRenderer.projected_raster_layer): New. This must be implemented
13            by derived classes. It takes almost the same arguments as ProjectRasterFile
14            did and returns a projected image with mask and alpha data (if requested).
15            (BaseRenderer.render_map_incrementally): Remove the check for gdal since
16            that check will be done in MapRenderer.projected_raster_layer(). This
17            also allows other implementations to use different projection code.
18    
19            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
20            Implementation of BaseRenderer.projected_raster_layer. Checks for
21            gdal support and wxPython version. Also handles exceptions from
22            ProjectRasterFile.
23    
24            * libraries/thuban/gdalwarp.cpp: Removed checks for wxPython versions
25            and added a variable which can be set through the options argument
26            of ProjectRasterFile.
27    
28            * test/test_baserenderer.py (SimpleRenderer.projected_raster_layer): New.
29            Calls ProjectRasterFile and returns the result.
30            (TestBaseRenderer.test_projected_raster_layer): New. Tests the results
31            of calling projected_raster_layer() with different options.
32            (TestBaseRenderer.test_raster_no_projection): Removed tests based on
33            wxPython version and all tests of masks and alpha channels. These are
34            now in test_projected_raster_layer().
35    
36  2005-02-17  Jan-Oliver Wagner <[email protected]>  2005-02-17  Jan-Oliver Wagner <[email protected]>
37    
38          * Thuban/Model/map.py, Thuban/Model/label.py: Fixed          * Thuban/Model/map.py, Thuban/Model/label.py: Fixed

Legend:
Removed from v.2570  
changed lines
  Added in v.2571

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26