1 |
|
2003-05-22 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
UI polishing updates: Place main buttons (OK, Cancel, etc) in the |
4 |
|
lower right corner, center labels for selections, initialize controls |
5 |
|
in reasonable order for keyboard navigation. |
6 |
|
|
7 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout) |
8 |
|
(ProjFrame.__DoOnProjAvail): Determine position of current projection |
9 |
|
using the wxListBox.FindString() method. Still a problem (#1886) |
10 |
|
|
11 |
|
* Thuban/UI/classifier.py |
12 |
|
(Classifier.__init__, SelectPropertiesDialog.__init__) |
13 |
|
|
14 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__, |
15 |
|
(ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the |
16 |
|
different classification types from here to __init__. |
17 |
|
(GenUniquePanel.__init__): Set the column width of the first field |
18 |
|
in the Field ListCtrl to the full width. |
19 |
|
|
20 |
|
* Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As' |
21 |
|
Button to 'Export'. Center Buttons in Selection Box, set Focus to |
22 |
|
Grid. |
23 |
|
(LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN, |
24 |
|
changes focus to the Selection when pressing "Alt-S". |
25 |
|
|
26 |
|
* Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out |
27 |
|
the text if not visible. The italic font sometimes exceeds the |
28 |
|
rendering area. |
29 |
|
|
30 |
|
|
31 |
|
2003-05-21 Jonathan Coles <[email protected]> |
32 |
|
|
33 |
|
* Thuban/UI/dock.py (DockFrame): Rename references to _OnClose |
34 |
|
to OnClose so that Thuban closes correctly. |
35 |
|
|
36 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Call |
37 |
|
DockFrame.OnClose, not DockFrame._OnClose. |
38 |
|
|
39 |
|
2003-05-21 Jonathan Coles <[email protected]> |
40 |
|
|
41 |
|
* Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove |
42 |
|
references to 'inf' and use new Range __init__ to pass floats |
43 |
|
directly rather than converting them to strings first. |
44 |
|
Fixes RTBug #1876. |
45 |
|
|
46 |
|
* Thuban/Model/classification.py (ClassGroupRange.SetRange): |
47 |
|
Use new Range ___init__ to pass floats. |
48 |
|
|
49 |
|
* Thuban/Model/layer.py (RasterLayer.__init__): Test if the |
50 |
|
filename is a valid image file. Throw IOError otherwise. |
51 |
|
|
52 |
|
* Thuban/Model/range.py: Brought over new Range from SciParam that |
53 |
|
is immutable and has an __init__ which can accept floats. |
54 |
|
|
55 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile |
56 |
|
into try block. AddLayer doesn't throw any exceptions anymore. |
57 |
|
(MainWindow.AddRasterLayer): Move constructor of RasterLayer into |
58 |
|
try block. |
59 |
|
|
60 |
|
* Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as |
61 |
|
the first item in choices. Fixes RTBug #1882. |
62 |
|
|
63 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale |
64 |
|
has gone to 0 which is a serious problem. abort. |
65 |
|
(MapRenderer.draw_raster_layer): Catch IOError seperately and |
66 |
|
print the error from GDAL. |
67 |
|
|
68 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Call |
69 |
|
ToggleEventListeners to turn on listening. |
70 |
|
(TableGrid.ToggleEventListeners): New. Turns event listening on |
71 |
|
and off so as to prevent excessive messages. |
72 |
|
(LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners |
73 |
|
to suppress excessive messages when selecting many rows. |
74 |
|
Fixes RTBug #1880. |
75 |
|
|
76 |
|
* Thuban/UI/view.py: Added checks against if scale == 0. This |
77 |
|
is a serious problem that can occur when an image without |
78 |
|
geo data is loading and causes the map projection bounds to |
79 |
|
go to infinity. Right now, the solution is to simply try |
80 |
|
to recover. |
81 |
|
|
82 |
|
* extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure |
83 |
|
to set the MFILEReceiver attributes even if the data is NULL. |
84 |
|
|
85 |
|
* extensions/thuban/gdalwarp.cpp: Improved the error handling |
86 |
|
and passed GDAL messages back up to the Python layer. Also |
87 |
|
tried to fix some memory leaks that were present in the original |
88 |
|
utility but didn't matter because the program aborted. |
89 |
|
|
90 |
|
* test/test_range.py: Copied over tests from SciParam. Removed |
91 |
|
tests against importing. Fixes RTBug #1867. |
92 |
|
|
93 |
|
2003-05-21 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* test/test_load.py: Remove unused imports and restructure the |
96 |
|
test code |
97 |
|
(LoadSessionTest): Split into one class for each test and turn |
98 |
|
LoadSessionTest itself into the base class for all such session |
99 |
|
tests. |
100 |
|
(ClassificationTest): New base class for load tests that test |
101 |
|
classifications |
102 |
|
(TestSingleLayer, TestLayerVisibility, TestClassification) |
103 |
|
(TestLabels, TestLayerProjection, TestRasterLayer): New classes |
104 |
|
for the individual tests |
105 |
|
|
106 |
|
* test/support.py (FileLoadTestCase.filename): New base class for |
107 |
|
file loading tests |
108 |
|
|
109 |
|
2003-05-21 Jan-Oliver Wagner <[email protected]> |
110 |
|
|
111 |
|
* Resources/Projections/defaults.proj: Renamed 'Universal Transverse |
112 |
|
Mercator' to 'UTM Zone 32' as a more convenient example. |
113 |
|
Added 'Gauss Krueger Zone 6'. |
114 |
|
|
115 |
|
* Data/iceland_sample_raster.thuban: political polygon now |
116 |
|
filled transparent to have the raster image visible at once. |
117 |
|
|
118 |
2003-05-21 Frank Koormann <[email protected]> |
2003-05-21 Frank Koormann <[email protected]> |
119 |
|
|
120 |
* Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to |
* Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to |