/[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 1224 by jonathan, Tue Jun 17 15:26:11 2003 UTC revision 1237 by jonathan, Wed Jun 18 15:30:14 2003 UTC
# Line 1  Line 1 
1    2003-06-18  Jonathan Coles   <[email protected]>
2    
3            When Thuban loaded the map was redrawn twice because the
4            legend was being opened after the mainwindow was created
5            and not during its creation. This meant the map was drawn
6            initially and then had to be redrawn when the legend
7            caused the display to change. Now the legend is opened
8            in the mainwindow constructor which resolves this issue.
9    
10            Also, although we were checking for the existence of
11            gdal and gdalwarp modules, the gdalwarp extension was
12            still being compiled (which may fail if the system doesn't
13            have gdal installed). the build_ext command to setup.py
14            now accepts the flags --with-gdal and --without-gdal.
15            If --without-gdal is specified setup.py will try to
16            use the gdal parameters specified by gdal-config. Under
17            windows, those parameters have to be set in setup.py
18            as with proj4 an wxWindows.
19    
20            * setup.py: Use a list instead of seperate variables for
21            extension parameters so we can create a generic function
22            that runs an appropriate *-config script.
23            (run_cs_script): Renamed from run_wx_script and modified
24            to accept a second argument which is a list of lists to
25            be filled in by the values returned from running the command.
26            (thuban_build_ext): New. Extends the build_ext command and
27            provides the options --with-gdal/--without-gdal which then
28            optionally includes the gdalwarp extension.
29    
30            * Thuban/Model/resource.py: First check if we can import
31            the gdalwarp Thuban extension before checking for gdal.
32            Also added some comments.
33            
34            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Check if
35            the map is None which may be the case if none has been loaded
36            yet.
37    
38            * Thuban/UI/main.py (main): Remove call to ShowLegend.
39    
40            * Thuban/UI/mainwindow.py (MainWindow.__init__): Call ShowLegend().
41    
42            * Thuban/UI/renderer.py: Check for gdal support before importing
43            gdalwarp.
44            (MapRenderer.render_map): Only try to optimize if we have gdal
45            support otherwise nothing will get drawn.
46    
47            * Thuban/UI/view.py (MapCanvas.FitMapToWindow): This may be called
48            during startup before a map has been created. Check if map is None
49            before using it and do nothing if it is.
50    
51  2003-06-17  Jonathan Coles   <[email protected]>  2003-06-17  Jonathan Coles   <[email protected]>
52    
53          Fix the problem with raster layers under Windows that caused          Fix the problem with raster layers under Windows that caused

Legend:
Removed from v.1224  
changed lines
  Added in v.1237

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26