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