1 |
|
2004-12-05 Martin Schulze <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
4 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
5 |
|
|
6 |
|
2004-11-30 Martin Schulze <[email protected]> |
7 |
|
|
8 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
9 |
|
Improved the test for the internal compare method |
10 |
|
|
11 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
12 |
|
|
13 |
|
* Thuban/UI/about.py (About.__init__): Added |
14 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
15 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
16 |
|
to Developer. |
17 |
|
|
18 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
19 |
|
|
20 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
21 |
|
Removed Jan from author list as he did not change enough significant |
22 |
|
lines yet. |
23 |
|
|
24 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
25 |
|
of the Extension. |
26 |
|
|
27 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
28 |
|
|
29 |
|
* po/hu.po: New. Hungarian translation. Contributed |
30 |
|
by Norbert Solymosi. |
31 |
|
|
32 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
35 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
36 |
|
debug prints |
37 |
|
|
38 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
39 |
|
|
40 |
|
Fix broken tests for svg extension and added svg legend |
41 |
|
to Experimental menu. |
42 |
|
|
43 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
44 |
|
the test run correctly even if the extension is a package. |
45 |
|
Also removed the "import Thuban" which makes no sense. |
46 |
|
|
47 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
48 |
|
test module also be executed from the global test routine. |
49 |
|
This is done by looking for the absense of the DISPLAY variable. |
50 |
|
|
51 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
52 |
|
to Experimental menu since this module has yet not reached a stable |
53 |
|
status (ie. 1.0). |
54 |
|
|
55 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
56 |
|
|
57 |
|
* Extensions/svgexport/svgmapwriter.py: |
58 |
|
Added verbose variable and some logging depending on it. |
59 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
60 |
|
because counting i is not necessary. |
61 |
|
(class Pen, class Brush): Added simple __str__ methods. |
62 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
63 |
|
not exported to svg file) Note: holes still unhandled. |
64 |
|
|
65 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
66 |
|
Made a baseclass TestWithDC for test needed a DC. |
67 |
|
Added tests for bug #2698 (transparent polygons are not |
68 |
|
exported to svg file): |
69 |
|
Testobjectexport.test_transparent_polygon() |
70 |
|
|
71 |
|
* Thuban/Model/base.py (UnsetModified): |
72 |
|
Fixed some typos in docstring. |
73 |
|
|
74 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
75 |
|
Added hints on the used algorithm for handling holes. |
76 |
|
|
77 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
78 |
|
|
79 |
|
Some face lifting for the examples. |
80 |
|
|
81 |
|
* Examples/__init__.py: Make this directory a package. |
82 |
|
|
83 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
84 |
|
|
85 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
86 |
|
menu to Examples menu. |
87 |
|
|
88 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
89 |
|
minor changes. |
90 |
|
|
91 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
92 |
|
|
93 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
94 |
|
|
95 |
|
Changed way of extension registry for wms and added extension |
96 |
|
registry for umn_mapserver extension. |
97 |
|
|
98 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
99 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
100 |
|
|
101 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
102 |
|
|
103 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
104 |
|
importing of the actual umn mapserver management modules. |
105 |
|
Included a test for the required Python MapScript. |
106 |
|
|
107 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
108 |
|
|
109 |
|
Changed way of extension registry for importAPR, bboxdump |
110 |
|
and added extension registry for svgexport.extension registry for |
111 |
|
svgexport. |
112 |
|
|
113 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
114 |
|
of the actual importAPR module. |
115 |
|
|
116 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
117 |
|
__init__.py). |
118 |
|
|
119 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
120 |
|
����of the actual bboxdump module. |
121 |
|
|
122 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
123 |
|
����__init__.py). |
124 |
|
|
125 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
126 |
|
of the svgsaver module. |
127 |
|
|
128 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
129 |
|
to Experimental menu since this module has yet not reached a stable |
130 |
|
status (ie. 1.0). |
131 |
|
|
132 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
133 |
|
|
134 |
|
Now the hit test considers the size of point symbols. |
135 |
|
|
136 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
137 |
|
'size' defaulting to the previously fixed value 5. |
138 |
|
Extended doc-string. |
139 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
140 |
|
for symbols. |
141 |
|
Now the size of the largest point symbol is determined to find out |
142 |
|
about whether the point has been hit. |
143 |
|
This fixes the problem that only clicks inside a fixed distance of |
144 |
|
5 where found. |
145 |
|
|
146 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
147 |
|
|
148 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
149 |
|
selected symbols. |
150 |
|
|
151 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
152 |
|
Added consideration of the specific size of point symbols. |
153 |
|
The property for each point symbol is retrieved and the size applied |
154 |
|
for the rendering method. |
155 |
|
Added doc-string. |
156 |
|
|
157 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
158 |
|
|
159 |
|
Changed way of Extension Registry for gns2shp and profiling. |
160 |
|
|
161 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
162 |
|
__init__.py). |
163 |
|
|
164 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
165 |
|
of the actual gns2shp module. |
166 |
|
|
167 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
168 |
|
__init__.py). |
169 |
|
|
170 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
171 |
|
of the actual profiling module. |
172 |
|
|
173 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
174 |
|
|
175 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
176 |
|
|
177 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
178 |
|
|
179 |
|
Further elements for sizable point objects now |
180 |
|
making this feature usable though not yet complete. |
181 |
|
|
182 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
183 |
|
attribute 'size' for cldata when the shape layer is of point type. |
184 |
|
This also now make the test_load.py tests happy. |
185 |
|
|
186 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
187 |
|
gradient. |
188 |
|
|
189 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
190 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
191 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
192 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
193 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
194 |
|
for the size in case the corresponding layer is of point type. |
195 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
196 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
197 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
198 |
|
and refresh preview. |
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
2004-10-04 Martin Schulze <[email protected]> |
203 |
|
|
204 |
|
* Extensions/wms/test/test_parser.py |
205 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
206 |
|
self-test for compareLists() |
207 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
208 |
|
self-test for compareDicts() |
209 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
210 |
|
to verify the test routine fails with non-equal arguments |
211 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
212 |
|
to verify the test routine fails with non-equal arguments |
213 |
|
|
214 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
215 |
|
|
216 |
|
First elements for sizeable point objects. |
217 |
|
|
218 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
219 |
|
|
220 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
221 |
|
|
222 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
223 |
|
of a corresponding argument is given. |
224 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
225 |
|
|
226 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
227 |
|
(ClassGroupProperties.__init__): Set default size. |
228 |
|
(ClassGroupProperties.SetProperties): Set the size. |
229 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
230 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
231 |
|
(ClassGroupProperties__eq__): Compare also size. |
232 |
|
(ClassGroupProperties__repr__): Print also size. |
233 |
|
|
234 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
235 |
|
the size attribute. |
236 |
|
|
237 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
238 |
|
Also, now there is a return value that indicates whether the drawing |
239 |
|
size exceeded the given rect extent and if so the new extent. |
240 |
|
Finally, point objects are drawn depending on the size. If either |
241 |
|
the width or height is exceeded, the new extent is returned. |
242 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
243 |
|
evaluate the return value and, if not None, adapt the grid widget size |
244 |
|
accordingly and redraw again. |
245 |
|
|
246 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
247 |
|
If the draw function is for points, call it with the size as additional |
248 |
|
parameter. |
249 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
250 |
|
the size. Compute the radius using the size. |
251 |
|
|
252 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
253 |
|
that Thuban supports size, apply this correctly. |
254 |
|
|
255 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
256 |
|
|
257 |
2004-10-03 Jan-Oliver Wagner <[email protected]> |
2004-10-03 Jan-Oliver Wagner <[email protected]> |
258 |
|
|
259 |
* Doc/manual/thuban-manual-de.xml: Started translation of |
* Doc/manual/thuban-manual-de.xml: Started translation of |