1 |
|
2003-05-21 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Resources/Projections/defaults.proj: Renamed 'Universal Transverse |
4 |
|
Mercator' to 'UTM Zone 32' as a more convenient example. |
5 |
|
Added 'Gauss Krueger Zone 6'. |
6 |
|
|
7 |
|
* Data/iceland_sample_raster.thuban: political polygon now |
8 |
|
filled transparent to have the raster image visible at once. |
9 |
|
|
10 |
|
2003-05-21 Frank Koormann <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to |
13 |
|
OnClose() to keep in sync with extensions. Internally Thuban |
14 |
|
still uses "underscored" names. |
15 |
|
|
16 |
|
2003-05-20 Jonathan Coles <[email protected]> |
17 |
|
|
18 |
|
This puts back Raster layer support. These layers support projections |
19 |
|
through the GDAL library. Currently, the CVS version is being used. |
20 |
|
There are no Debian packages available although this may change soon. |
21 |
|
A GDAL driver was extended to support writing to memory rather to |
22 |
|
files. |
23 |
|
|
24 |
|
There is still some work that needs to be done, such as some error |
25 |
|
handling when loading invalid images or when there is a problem |
26 |
|
projecting the image. This putback simply checks in the majority |
27 |
|
of the work. |
28 |
|
|
29 |
|
* setup.py: Add gdalwarp library extension. |
30 |
|
|
31 |
|
* Thuban/Model/layer.py (BaseLayer.HasClassification): New. |
32 |
|
Defaults to False, but can be overridden by subclasses if they |
33 |
|
support classification. |
34 |
|
(RasterLayer): New. Defines a new layer that represents an |
35 |
|
image. |
36 |
|
|
37 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer |
38 |
|
tag handler. |
39 |
|
(SessionLoader.start_layer): Encode the filename. |
40 |
|
(SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer): |
41 |
|
New. Supports reading a rasterlayer tag. |
42 |
|
|
43 |
|
* Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment. |
44 |
|
|
45 |
|
* Thuban/Model/save.py (XMLWriter.encode): Don't assume that we |
46 |
|
get a string in Latin1. If we get such as string convert it to |
47 |
|
unicode first, otherwise leave if alone before encoding. |
48 |
|
(SessionSaver.write_layer): Add support for writing both Layers |
49 |
|
and RasterLayers. |
50 |
|
|
51 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery): |
52 |
|
The right argument may not be a string, it could also be a Column. |
53 |
|
|
54 |
|
* Thuban/UI/application.py (ThubanApplication.CreateMainWindow): |
55 |
|
Make initial window size 600x400. Fixes RTBug #1872. |
56 |
|
|
57 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Rearrange how |
58 |
|
the dialog is constructed so that we can support layers that |
59 |
|
do not have classifications. |
60 |
|
(Classifier._OnTry): Only build a classification if the layer |
61 |
|
supports one. |
62 |
|
|
63 |
|
* Thuban/UI/legend.py: Change all checks that a layer is an |
64 |
|
instance of Layer into checks against BaseLayer. |
65 |
|
(LegendTree.__FillTreeLayer): Only add children to a branch if |
66 |
|
the layer supports classification. |
67 |
|
|
68 |
|
* Thuban/UI/mainwindow.py (MainWindow.NewSession, |
69 |
|
MainWindow.OpenSession): Don't proceed with an action if the |
70 |
|
user chooses Cancel when they are asked to save changes. |
71 |
|
(MainWindow.AddRasterLayer): New. Open a dialog to allow the |
72 |
|
user to select an image file. Create a new RasterLayer and add |
73 |
|
it to the map. |
74 |
|
|
75 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Add support |
76 |
|
for rendering RasterLayer layers. |
77 |
|
(MapRenderer.draw_raster_layer): Actually method that calls |
78 |
|
the GDALWarp python wrapper and constructs an image from the |
79 |
|
data returned. |
80 |
|
|
81 |
|
* Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the |
82 |
|
Choices symbols to match those used in the table query method. |
83 |
|
Replace deprecated method calls on table with new method names. |
84 |
|
|
85 |
|
* Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit |
86 |
|
how small the scale can get. This still needs more testing. |
87 |
|
|
88 |
|
* extensions/thuban/bmpdataset.cpp: New, but copied from GDAL. |
89 |
|
Provides a driver to output in .bmp format. |
90 |
|
|
91 |
|
* extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h: |
92 |
|
New. Provides IO routines which write to memory, rather than a file. |
93 |
|
|
94 |
|
* extensions/thuban/gdalwarp.cpp: New, but basically a direct copy |
95 |
|
of the gdalwarp utility provided in GDAL. Added function calls |
96 |
|
that can be accessed from python. |
97 |
|
|
98 |
|
* Data/iceland_sample_raster.thuban: New. Sample file that uses |
99 |
|
a raster layer. |
100 |
|
|
101 |
|
* Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster |
102 |
|
layer image data. |
103 |
|
|
104 |
|
* Doc/thuban.dtd: Added rasterlayer attribute definition. |
105 |
|
|
106 |
|
* test/test_layer.py, test/test_load.py, test/test_save.py: Added |
107 |
|
tests associated with the raster layer code. |
108 |
|
|
109 |
|
* test/test_transientdb.py |
110 |
|
(TestTransientTable.test_auto_transient_table_query): Added a test |
111 |
|
for using a Column object as the "right" parameter to a query. |
112 |
|
|
113 |
|
2003-05-19 Frank Koormann <[email protected]> |
114 |
|
|
115 |
|
* Thuban/version.py (get_changelog_date): |
116 |
|
Catch exceptions if ChangeLog does not exist. |
117 |
|
|
118 |
|
* Thuban/UI/view.py (MapCanvas.Export): Bugfix |
119 |
|
|
120 |
2003-05-19 Frank Koormann <[email protected]> |
2003-05-19 Frank Koormann <[email protected]> |
121 |
|
|
122 |
Extended version information for Thuban |
Extended version information for Thuban |