1 |
2003-05-20 Jonathan Coles <[email protected]> |
2003-05-20 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove |
4 |
|
references to 'inf' and use new Range __init__ to pass floats |
5 |
|
directly rather than converting them to strings first. |
6 |
|
Fixes RTBug #1876. |
7 |
|
|
8 |
|
* Thuban/Model/classification.py (ClassGroupRange.SetRange): |
9 |
|
Use new Range ___init__ to pass floats. |
10 |
|
|
11 |
|
* Thuban/Model/layer.py (RasterLayer.__init__): Test if the |
12 |
|
filename is a valid image file. Throw IOError otherwise. |
13 |
|
|
14 |
|
* Thuban/Model/range.py: Brought over new Range from SciParam that |
15 |
|
is immutable and has an __init__ which can accept floats. |
16 |
|
|
17 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile |
18 |
|
into try block. AddLayer doesn't throw any exceptions anymore. |
19 |
|
(MainWindow.AddRasterLayer): Move constructor of RasterLayer into |
20 |
|
try block. |
21 |
|
|
22 |
|
* Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as |
23 |
|
the first item in choices. Fixes RTBug #1882. |
24 |
|
|
25 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale |
26 |
|
has gone to 0 which is a serious problem. abort. |
27 |
|
(MapRenderer.draw_raster_layer): Catch IOError seperately and |
28 |
|
print the error from GDAL. |
29 |
|
|
30 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Call |
31 |
|
ToggleEventListeners to turn on listening. |
32 |
|
(TableGrid.ToggleEventListeners): New. Turns event listening on |
33 |
|
and off so as to prevent excessive messages. |
34 |
|
(LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners |
35 |
|
to suppress excessive messages when selecting many rows. |
36 |
|
Fixes RTBug #1880. |
37 |
|
|
38 |
|
* Thuban/UI/view.py: Added checks against if scale == 0. This |
39 |
|
is a serious problem that can occur when an image without |
40 |
|
geo data is loading and causes the map projection bounds to |
41 |
|
go to infinity. Right now, the solution is to simply try |
42 |
|
to recover. |
43 |
|
|
44 |
|
* extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure |
45 |
|
to set the MFILEReceiver attributes even if the data is NULL. |
46 |
|
|
47 |
|
* extensions/thuban/gdalwarp.cpp: Improved the error handling |
48 |
|
and passed GDAL messages back up to the Python layer. Also |
49 |
|
tried to fix some memory leaks that were present in the original |
50 |
|
utility but didn't matter because the program aborted. |
51 |
|
|
52 |
|
* test/test_range.py: Copied over tests from SciParam. Removed |
53 |
|
tests against importing. Fixes RTBug #1867. |
54 |
|
|
55 |
|
2003-05-21 Bernhard Herzog <[email protected]> |
56 |
|
|
57 |
|
* test/test_load.py: Remove unused imports and restructure the |
58 |
|
test code |
59 |
|
(LoadSessionTest): Split into one class for each test and turn |
60 |
|
LoadSessionTest itself into the base class for all such session |
61 |
|
tests. |
62 |
|
(ClassificationTest): New base class for load tests that test |
63 |
|
classifications |
64 |
|
(TestSingleLayer, TestLayerVisibility, TestClassification) |
65 |
|
(TestLabels, TestLayerProjection, TestRasterLayer): New classes |
66 |
|
for the individual tests |
67 |
|
|
68 |
|
* test/support.py (FileLoadTestCase.filename): New base class for |
69 |
|
file loading tests |
70 |
|
|
71 |
|
2003-05-21 Jan-Oliver Wagner <[email protected]> |
72 |
|
|
73 |
|
* Resources/Projections/defaults.proj: Renamed 'Universal Transverse |
74 |
|
Mercator' to 'UTM Zone 32' as a more convenient example. |
75 |
|
Added 'Gauss Krueger Zone 6'. |
76 |
|
|
77 |
|
* Data/iceland_sample_raster.thuban: political polygon now |
78 |
|
filled transparent to have the raster image visible at once. |
79 |
|
|
80 |
|
2003-05-21 Frank Koormann <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to |
83 |
|
OnClose() to keep in sync with extensions. Internally Thuban |
84 |
|
still uses "underscored" names. |
85 |
|
|
86 |
|
2003-05-20 Jonathan Coles <[email protected]> |
87 |
|
|
88 |
This puts back Raster layer support. These layers support projections |
This puts back Raster layer support. These layers support projections |
89 |
through the GDAL library. Currently, the CVS version is being used. |
through the GDAL library. Currently, the CVS version is being used. |
90 |
There are no Debian packages available although this may change soon. |
There are no Debian packages available although this may change soon. |