1 |
|
2005-01-26 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
4 |
|
|
5 |
|
2005-01-24 Bernhard Herzog <[email protected]> |
6 |
|
|
7 |
|
Rework the status bar updates a bit to make sure the message about |
8 |
|
the projections is produced at the right times. |
9 |
|
|
10 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages): |
11 |
|
New class variable with messages that may require a status bar |
12 |
|
update. |
13 |
|
(MainWindow.view_position_changed) |
14 |
|
(MainWindow.update_status_bar): Rename from view_position_changed |
15 |
|
to update_status_bar. It's meaning has changed now that it may |
16 |
|
also generate messages about problems with projection settings. |
17 |
|
(MainWindow.__init__): Use the new update_status_bar_messages |
18 |
|
class variable to subscribe update_status_bar |
19 |
|
(MainWindow.set_position_text): Update doc-string. This method |
20 |
|
has to be renamed at some point. See doc-string and comments. |
21 |
|
(MainWindow.OnClose): Unsubscribe update_status_bar from all |
22 |
|
messages in update_status_bar_messages |
23 |
|
|
24 |
|
* Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New |
25 |
|
class attribute. map messages to be forwarded by the viewport. |
26 |
|
(ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe |
27 |
|
the messages in forwarded_map_messages |
28 |
|
|
29 |
|
2005-01-21 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
* test/postgissupport.py (PostGISDatabase.__init__): Tweak |
32 |
|
doc-string |
33 |
|
(find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a |
34 |
|
different name for the initialization SQL file. |
35 |
|
|
36 |
|
2005-01-21 Jonathan Coles <[email protected]> |
37 |
|
|
38 |
|
* Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes |
39 |
|
a projection and returns a formatted string representing the |
40 |
|
parameters to feed to gdalwarp. This function eliminates |
41 |
|
redundancy in draw_raster_layer(). |
42 |
|
(BaseRenderer.render_map_incrementally): Removed the optimization which |
43 |
|
drew the top most raster layer first and then only those vector- |
44 |
|
based layers that are above it. With the support for transparency |
45 |
|
this optimization breaks correct behaviour. |
46 |
|
(BaseRenderer.draw_raster_layer): Reorganize code to support possible |
47 |
|
future enhancements to raster layer bounding box. The old behaviour has |
48 |
|
not changed. Also, change calling parameters to draw_raster_data() |
49 |
|
to specify new RAW data format and mask. |
50 |
|
(BaseRenderer.draw_raster_data): Change signature to include an optional |
51 |
|
parameter for mask information. Change documentation to mention |
52 |
|
support for new parameter and added option for RAW data format. |
53 |
|
The data argument is now a list of [width, height, data]. |
54 |
|
|
55 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional |
56 |
|
mask parameter. Add new condition for RAW format, which |
57 |
|
significantly reduces rendering time. Add condition for |
58 |
|
mask parameter. |
59 |
|
|
60 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a |
61 |
|
data array of RGB values from the projected image returned from |
62 |
|
the gdal warping functions. In the case of palette based images, it |
63 |
|
converts the NO_DATA index to the mask color. |
64 |
|
(ProjectRasterFile): Removed all custom memory driver references |
65 |
|
and replaced it with the standard in-memory dataset provided |
66 |
|
by gdal. The return data is no longer a BMP file, but an array |
67 |
|
of RGB values, one set triple per pixel. |
68 |
|
|
69 |
|
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary. |
70 |
|
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary. |
71 |
|
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary. |
72 |
|
|
73 |
|
* setup.py (thuban_build_ext.finalize_options): Removed mention |
74 |
|
of cpl_mfile.cpp and bmpdataset.cpp files in the list of source |
75 |
|
files. These are obsolete with the new version of gdalwarp.cpp |
76 |
|
|
77 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
78 |
|
Updated signature. |
79 |
|
(TestBaseRenderer.test_raster_no_projection): Changed the test |
80 |
|
data to be data in the uncompressed RAW format returned from |
81 |
|
ProjectRasterFile. |
82 |
|
|
83 |
|
2005-01-21 Jan-Oliver Wagner <[email protected]> |
84 |
|
|
85 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made |
86 |
|
string available for i18n. |
87 |
|
|
88 |
|
2005-01-20 Russell Nelson <[email protected]> |
89 |
|
|
90 |
|
* Resources/Projections/defaults.proj: Ruin the speling of the |
91 |
|
Lambert-93 projection so it doesn't run into the wx UTF-8 bug. |
92 |
|
It's the wrong thing to do in the long run, but it's necessary for |
93 |
|
those users until that bug is fixed. Otherwise the projection |
94 |
|
dialog segfaults. Better to annoy some Lambert-93 users with a |
95 |
|
spelling mistake than every Fedora Core 3 user of Thuban-CVS. |
96 |
|
|
97 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
98 |
|
|
99 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added |
100 |
|
docstring and comment that the warning code here is a hack. |
101 |
|
|
102 |
|
2005-01-20 Russell Nelson <[email protected]> |
103 |
|
|
104 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn |
105 |
|
user about misprojected layers when their lat/lon bounding |
106 |
|
box exceeds rational lat/lon values. |
107 |
|
|
108 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
109 |
|
|
110 |
|
* Thuban/UI/about.py (unicodeToLocale): Improved: |
111 |
|
Use 'ascii' and then 'replace' for other characters |
112 |
|
when getdefaultlocale returns None. Thanks to Bernhard H. . |
113 |
|
|
114 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
115 |
|
|
116 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment |
117 |
|
that OnRangeText might be called twice and using None as argument. |
118 |
|
|
119 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
120 |
|
|
121 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a |
122 |
|
OnRangeText(0) to work around a different in wx Behaviour noticed |
123 |
|
on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
124 |
|
|
125 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
126 |
|
|
127 |
|
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |
128 |
|
None. (Fixes rt#2910.) |
129 |
|
|
130 |
|
2005-01-18 Frank Koormann <[email protected]> |
131 |
|
|
132 |
|
New Extension: mouseposition |
133 |
|
Tool to collect mouse click positions (map coordinates) in a dialog. |
134 |
|
|
135 |
|
* Extensions/mouseposition/__init__.py: New, extension registration |
136 |
|
|
137 |
|
* Extensions/mouseposition/mouseposition.py: New, implements the |
138 |
|
dialog and adds a tool to Thuban mainwindow. |
139 |
|
|
140 |
|
* Extensions/mouseposition/position.xpm: New, icon for tool. |
141 |
|
|
142 |
|
2005-01-14 Jan-Oliver Wagner <[email protected]> |
143 |
|
|
144 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
145 |
|
|
146 |
|
2005-01-11 Frank Koormann <[email protected]> |
147 |
|
|
148 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
149 |
|
Fix indention bug. |
150 |
|
|
151 |
2005-01-09 Frank Koormann <[email protected]> |
2005-01-09 Frank Koormann <[email protected]> |
152 |
|
|
153 |
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
154 |
BugFix 2901: Explicitly copy layers ClassificationColumn since it |
BugFix 2901: Explicitly copy layers ClassificationColumn since it |
155 |
is not part of the layers Classification. |
is not part of the layers Classification. |
156 |
|
|
157 |
2005-01-03 Frank Koormann <[email protected]> |
2005-01-03 Frank Koormann <[email protected]> |