1 |
|
2003-06-17 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Fix the problem with raster layers under Windows that caused |
4 |
|
Thuban to crash. The view should respond to layer projection |
5 |
|
changed events to update the display. Changes to a projection |
6 |
|
should not cause the map to be set to full extent. |
7 |
|
|
8 |
|
* Thuban/UI/view.py (MapCanvas.__init__): New instance variable |
9 |
|
current_map_proj to remember the current map projection so that |
10 |
|
when the projection changes we know what the previous projection |
11 |
|
was. |
12 |
|
(MapCanvas.SetMap): Unsubscribe and subscribe to |
13 |
|
LAYER_PROJECTION_CHANGED events. |
14 |
|
(MapCanvas.projection_changed): Split into two methods that respond |
15 |
|
to map and layer projection changes. |
16 |
|
(MapCanvas.map_projection_changed): New. Takes the current view and |
17 |
|
projects it using the new projection. This does not cause the |
18 |
|
map to be redrawn at full extent. |
19 |
|
(MapCanvas.layer_projection_changed): New. Cause a redraw which |
20 |
|
will draw each layer in its new projection. |
21 |
|
|
22 |
|
* extensions/thuban/bmpdataset.cpp (BMPDataset::Open): Call |
23 |
|
VSIFClose() not VSIFCloseL() to close the file. Fixes a crash |
24 |
|
under Windows. |
25 |
|
|
26 |
|
* extensions/thuban/gdalwarp.cpp (MFILENAME): Padding should be |
27 |
|
to twice sizeof(void*) because there are two digits for each |
28 |
|
hex byte. |
29 |
|
|
30 |
2003-06-16 Bernhard Herzog <[email protected]> |
2003-06-16 Bernhard Herzog <[email protected]> |
31 |
|
|
32 |
Update to the layer interface: Direct access to the table, |
Update to the layer interface: Direct access to the table, |