1 |
|
2005-01-21 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes |
4 |
|
a projection and returns a formatted string representing the |
5 |
|
parameters to feed to gdalwarp. This function eliminates |
6 |
|
redundancy in draw_raster_layer(). |
7 |
|
(render_map_incrementally): Removed the optimization which |
8 |
|
drew the top most raster layer first and then only those vector- |
9 |
|
based layers that are above it. With the support for transparency |
10 |
|
this optimization breaks correct behaviour. |
11 |
|
(draw_raster_layer): Reorganize code to support possible future |
12 |
|
enhancements to raster layer bounding box. The old behaviour has not |
13 |
|
changed. Also, change calling parameters to draw_raster_data() |
14 |
|
to specify new RAW data format and mask. |
15 |
|
(draw_raster_data): Change signature to include an optional |
16 |
|
parameter for mask information. Change documentation to mention |
17 |
|
support for new parameter and added option for RAW data format. |
18 |
|
The data argument is now a list of [width, height, data]. |
19 |
|
|
20 |
|
* Thuban/UI/renderer.py (draw_raster_data): Add new optional |
21 |
|
mask parameter. Add new condition for RAW format, which |
22 |
|
significantly reduces rendering time. Add condition for |
23 |
|
mask parameter. |
24 |
|
|
25 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a |
26 |
|
data array of RGB values from the projected image returned from |
27 |
|
the gdal warping functions. In the case of palette based images, it |
28 |
|
converts the NO_DATA index to the mask color. |
29 |
|
(ProjectRasterFile): Removed all custom memory driver references |
30 |
|
and replaced it with the standard in-memory dataset provided |
31 |
|
by gdal. The return data is no longer a BMP file, but an array |
32 |
|
of RGB values, one set triple per pixel. |
33 |
|
|
34 |
|
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary. |
35 |
|
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary. |
36 |
|
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary. |
37 |
|
|
38 |
|
* setup.py (thuban_build_ext.finalize_options): Removed mention |
39 |
|
of cpl_mfile.cpp and bmpdataset.cpp files in the list of source |
40 |
|
files. These are obsolete with the new version of gdalwarp.cpp |
41 |
|
|
42 |
|
* test/test_baserenderer.py (draw_raster_data): Updated signature. |
43 |
|
(test_raster_no_projection): Changed the test data to be data |
44 |
|
in the uncompressed RAW format returned from ProjectRasterFile. |
45 |
|
|
46 |
|
2005-01-21 Jan-Oliver Wagner <[email protected]> |
47 |
|
|
48 |
|
* Thuban/UI/mainwindow.py (view_position_changed): Made string |
49 |
|
available for i18n. |
50 |
|
|
51 |
|
2005-01-20 Russell Nelson <[email protected]> |
52 |
|
|
53 |
|
* Resources/Projections/defaults.proj: Ruin the speling of the |
54 |
|
Lambert-93 projection so it doesn't run into the wx UTF-8 bug. |
55 |
|
It's the wrong thing to do in the long run, but it's necessary for |
56 |
|
those users until that bug is fixed. Otherwise the projection |
57 |
|
dialog segfaults. Better to annoy some Lambert-93 users with a |
58 |
|
spelling mistake than every Fedora Core 3 user of Thuban-CVS. |
59 |
|
|
60 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
61 |
|
|
62 |
|
* Thuban/UI/mainwindow.py(view_position_changed): Added docstring |
63 |
|
and comment that the warning code here is a hack. |
64 |
|
|
65 |
|
2005-01-20 Russell Nelson <[email protected]> |
66 |
|
|
67 |
|
* Thuban/UI/mainwindow.py(view_position_changed): Warn user about |
68 |
|
misprojected layers when their lat/lon bounding |
69 |
|
box exceeds rational lat/lon values. |
70 |
|
|
71 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
72 |
|
|
73 |
|
* Thuban/UI/about.py (unicodeToLocale()): Improved: |
74 |
|
Use 'ascii' and then 'replace' for other characters |
75 |
|
when getdefaultlocale returns None. Thanks to Bernhard H. . |
76 |
|
|
77 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
78 |
|
|
79 |
|
* Thuban/UI/classgen.py (OnRetrieve()): Added a comment |
80 |
|
that OnRangeText might be called twice and using None as argument. |
81 |
|
|
82 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
83 |
|
|
84 |
|
* Thuban/UI/classgen.py (OnRetrieve()): Add a OnRangeText(0) |
85 |
|
to work around a different in wx Behaviour noticed on MacOSX, |
86 |
|
thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
87 |
|
|
88 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
89 |
|
|
90 |
|
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |
91 |
|
None. (Fixes rt#2910.) |
92 |
|
|
93 |
|
2005-01-18 Frank Koormann <[email protected]> |
94 |
|
|
95 |
|
New Extension: mouseposition |
96 |
|
Tool to collect mouse click positions (map coordinates) in a dialog. |
97 |
|
|
98 |
|
* Extensions/mouseposition/__init__.py: New, extension registration |
99 |
|
|
100 |
|
* Extensions/mouseposition/mouseposition.py: New, implements the |
101 |
|
dialog and adds a tool to Thuban mainwindow. |
102 |
|
|
103 |
|
* Extensions/mouseposition/position.xpm: New, icon for tool. |
104 |
|
|
105 |
|
2005-01-14 Jan-Oliver Wagner <[email protected]> |
106 |
|
|
107 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
108 |
|
|
109 |
|
2005-01-11 Frank Koormann <[email protected]> |
110 |
|
|
111 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
112 |
|
Fix indention bug. |
113 |
|
|
114 |
|
2005-01-09 Frank Koormann <[email protected]> |
115 |
|
|
116 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
117 |
|
BugFix 2901: Explicitly copy layers ClassificationColumn since it |
118 |
|
is not part of the layers Classification. |
119 |
|
|
120 |
|
2005-01-03 Frank Koormann <[email protected]> |
121 |
|
|
122 |
|
* Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally): |
123 |
|
BugFix 2883: Former implementation only worked on classified point |
124 |
|
layers: KeyError was raised, now use the default size if field is None. |
125 |
|
|
126 |
|
2004-12-27 Bernhard Reiter <[email protected]> |
127 |
|
|
128 |
|
svgexport 1.0.0cvs: Fixed label export. |
129 |
|
|
130 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
131 |
|
class TestSVGRenderer(): New class; new test test_label_font(). |
132 |
|
|
133 |
|
* Extensions/svgexport/svgmapwriter.py |
134 |
|
(SVGRenderer.label_font()): initialised Font size with self.factor now, |
135 |
|
makes test_label_font happy. |
136 |
|
|
137 |
|
* Extensions/svgexport/TODO: crossed out fixed label export item. |
138 |
|
Added item for options. |
139 |
|
|
140 |
|
* Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs. |
141 |
|
|
142 |
|
2004-12-27 Russell Nelson <[email protected]> |
143 |
|
|
144 |
|
Middle mouse button pans. |
145 |
|
|
146 |
|
* Thuban/UI/view.py (MapCanvas.__init__): Subscribe also |
147 |
|
OnMiddleDown and OnMiddleUp events. |
148 |
|
(MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the |
149 |
|
previously used tool. |
150 |
|
(MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before |
151 |
|
pressing the middle mouse button. |
152 |
|
|
153 |
|
2004-12-27 Jan-Oliver Wagner <[email protected]> |
154 |
|
|
155 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
156 |
|
|
157 |
|
2004-12-23 Jan-Oliver Wagner <[email protected]> |
158 |
|
|
159 |
|
* Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a |
160 |
|
\n to stderr after the warnings. Thanks to Russell Nelson. |
161 |
|
|
162 |
|
2004-12-20 Nina Hueffmeyer <[email protected]> |
163 |
|
|
164 |
|
* Extensions/ogr/ogrshapes.py: Fixed some issues from |
165 |
|
Bernhard (coding guidelines etc.). Additionally it is now possible to |
166 |
|
display shapefiles containing feature collections (e.g.polygons |
167 |
|
with holes). Works with gdal 1.2.1 now. |
168 |
|
|
169 |
|
* Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues |
170 |
|
from Bernhard (coding guidelines etc.). If ogr can't be imported, |
171 |
|
tests are skipped now. |
172 |
|
|
173 |
|
* Extensions/ogr/ogrstart.py: Fixed some typings. |
174 |
|
|
175 |
|
2004-12-20 Bernhard Reiter <[email protected]> |
176 |
|
|
177 |
|
* Extensions/svgexport/TODO: updated to add support for |
178 |
|
raster layers and labels for 1.0.1. |
179 |
|
|
180 |
|
* Extensions/svgexport/svgmapwriter.py (draw_raster_layer): |
181 |
|
Issue a warning now. |
182 |
|
|
183 |
2004-12-19 Bernhard Reiter <[email protected]> |
2004-12-19 Bernhard Reiter <[email protected]> |
184 |
|
|
185 |
* Extensions/svgexport/TODO: Added idea to support triggering |
* Extensions/svgexport/TODO: Added idea to support triggering |
236 |
* Doc/manual/thuban-manual-de.xml: Copied English section about |
* Doc/manual/thuban-manual-de.xml: Copied English section about |
237 |
svexport over. |
svexport over. |
238 |
|
|
239 |
* Extensions/svgexport/__init__.py: Bumped version number to 1.0.0. |
* Extensions/svgexport/__init__.py: Bumped version number to 1.0.0. |
240 |
|
|
241 |
* Extensions/svgexport/svgsaver.py,maplegend.py: |
* Extensions/svgexport/svgsaver.py,maplegend.py: |
242 |
Moved from experimental to stable extension menu. |
Moved from experimental to stable extension menu. |