1 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/about.py (About.__init__): Added |
4 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
5 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
6 |
|
to Developer. |
7 |
|
|
8 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
9 |
|
|
10 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
11 |
|
Removed Jan from author list as he did not change enough significant |
12 |
|
lines yet. |
13 |
|
|
14 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
15 |
|
of the Extension. |
16 |
|
|
17 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
18 |
|
|
19 |
|
* po/hu.po: New. Hungarian translation. Contributed |
20 |
|
by Norbert Solymosi. |
21 |
|
|
22 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
25 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
26 |
|
debug prints |
27 |
|
|
28 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
29 |
|
|
30 |
|
Fix broken tests for svg extension and added svg legend |
31 |
|
to Experimental menu. |
32 |
|
|
33 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
34 |
|
the test run correctly even if the extension is a package. |
35 |
|
Also removed the "import Thuban" which makes no sense. |
36 |
|
|
37 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
38 |
|
test module also be executed from the global test routine. |
39 |
|
This is done by looking for the absense of the DISPLAY variable. |
40 |
|
|
41 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
42 |
|
to Experimental menu since this module has yet not reached a stable |
43 |
|
status (ie. 1.0). |
44 |
|
|
45 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
46 |
|
|
47 |
|
* Extensions/svgexport/svgmapwriter.py: |
48 |
|
Added verbose variable and some logging depending on it. |
49 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
50 |
|
because counting i is not necessary. |
51 |
|
(class Pen, class Brush): Added simple __str__ methods. |
52 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
53 |
|
not exported to svg file) Note: holes still unhandled. |
54 |
|
|
55 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
56 |
|
Made a baseclass TestWithDC for test needed a DC. |
57 |
|
Added tests for bug #2698 (transparent polygons are not |
58 |
|
exported to svg file): |
59 |
|
Testobjectexport.test_transparent_polygon() |
60 |
|
|
61 |
|
* Thuban/Model/base.py (UnsetModified): |
62 |
|
Fixed some typos in docstring. |
63 |
|
|
64 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
65 |
|
Added hints on the used algorithm for handling holes. |
66 |
|
|
67 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
68 |
|
|
69 |
|
Some face lifting for the examples. |
70 |
|
|
71 |
|
* Examples/__init__.py: Make this directory a package. |
72 |
|
|
73 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
74 |
|
|
75 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
76 |
|
menu to Examples menu. |
77 |
|
|
78 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
79 |
|
minor changes. |
80 |
|
|
81 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
82 |
|
|
83 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
84 |
|
|
85 |
|
Changed way of extension registry for wms and added extension |
86 |
|
registry for umn_mapserver extension. |
87 |
|
|
88 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
89 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
90 |
|
|
91 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
92 |
|
|
93 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
94 |
|
importing of the actual umn mapserver management modules. |
95 |
|
Included a test for the required Python MapScript. |
96 |
|
|
97 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
98 |
|
|
99 |
|
Changed way of extension registry for importAPR, bboxdump |
100 |
|
and added extension registry for svgexport.extension registry for |
101 |
|
svgexport. |
102 |
|
|
103 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
104 |
|
of the actual importAPR module. |
105 |
|
|
106 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
107 |
|
__init__.py). |
108 |
|
|
109 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
110 |
|
����of the actual bboxdump module. |
111 |
|
|
112 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
113 |
|
����__init__.py). |
114 |
|
|
115 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
116 |
|
of the svgsaver module. |
117 |
|
|
118 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
119 |
|
to Experimental menu since this module has yet not reached a stable |
120 |
|
status (ie. 1.0). |
121 |
|
|
122 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
123 |
|
|
124 |
|
Now the hit test considers the size of point symbols. |
125 |
|
|
126 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
127 |
|
'size' defaulting to the previously fixed value 5. |
128 |
|
Extended doc-string. |
129 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
130 |
|
for symbols. |
131 |
|
Now the size of the largest point symbol is determined to find out |
132 |
|
about whether the point has been hit. |
133 |
|
This fixes the problem that only clicks inside a fixed distance of |
134 |
|
5 where found. |
135 |
|
|
136 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
137 |
|
|
138 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
139 |
|
selected symbols. |
140 |
|
|
141 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
142 |
|
Added consideration of the specific size of point symbols. |
143 |
|
The property for each point symbol is retrieved and the size applied |
144 |
|
for the rendering method. |
145 |
|
Added doc-string. |
146 |
|
|
147 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
148 |
|
|
149 |
|
Changed way of Extension Registry for gns2shp and profiling. |
150 |
|
|
151 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
152 |
|
__init__.py). |
153 |
|
|
154 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
155 |
|
of the actual gns2shp module. |
156 |
|
|
157 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
158 |
|
__init__.py). |
159 |
|
|
160 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
161 |
|
of the actual profiling module. |
162 |
|
|
163 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
164 |
|
|
165 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
166 |
|
|
167 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
168 |
|
|
169 |
|
Further elements for sizable point objects now |
170 |
|
making this feature usable though not yet complete. |
171 |
|
|
172 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
173 |
|
attribute 'size' for cldata when the shape layer is of point type. |
174 |
|
This also now make the test_load.py tests happy. |
175 |
|
|
176 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
177 |
|
gradient. |
178 |
|
|
179 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
180 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
181 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
182 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
183 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
184 |
|
for the size in case the corresponding layer is of point type. |
185 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
186 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
187 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
188 |
|
and refresh preview. |
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
2004-10-04 Martin Schulze <[email protected]> |
193 |
|
|
194 |
|
* Extensions/wms/test/test_parser.py |
195 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
196 |
|
self-test for compareLists() |
197 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
198 |
|
self-test for compareDicts() |
199 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
200 |
|
to verify the test routine fails with non-equal arguments |
201 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
202 |
|
to verify the test routine fails with non-equal arguments |
203 |
|
|
204 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
205 |
|
|
206 |
|
First elements for sizeable point objects. |
207 |
|
|
208 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
209 |
|
|
210 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
211 |
|
|
212 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
213 |
|
of a corresponding argument is given. |
214 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
215 |
|
|
216 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
217 |
|
(ClassGroupProperties.__init__): Set default size. |
218 |
|
(ClassGroupProperties.SetProperties): Set the size. |
219 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
220 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
221 |
|
(ClassGroupProperties__eq__): Compare also size. |
222 |
|
(ClassGroupProperties__repr__): Print also size. |
223 |
|
|
224 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
225 |
|
the size attribute. |
226 |
|
|
227 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
228 |
|
Also, now there is a return value that indicates whether the drawing |
229 |
|
size exceeded the given rect extent and if so the new extent. |
230 |
|
Finally, point objects are drawn depending on the size. If either |
231 |
|
the width or height is exceeded, the new extent is returned. |
232 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
233 |
|
evaluate the return value and, if not None, adapt the grid widget size |
234 |
|
accordingly and redraw again. |
235 |
|
|
236 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
237 |
|
If the draw function is for points, call it with the size as additional |
238 |
|
parameter. |
239 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
240 |
|
the size. Compute the radius using the size. |
241 |
|
|
242 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
243 |
|
that Thuban supports size, apply this correctly. |
244 |
|
|
245 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
246 |
|
|
247 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
248 |
|
|
249 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
250 |
|
Map chapter. |
251 |
|
|
252 |
|
2004-10-01 Martin Schulze <[email protected]> |
253 |
|
|
254 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
255 |
|
argument for general use through properties-dialog selector |
256 |
|
|
257 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
258 |
|
both provided layer classes/types. |
259 |
|
|
260 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
261 |
|
map can be retrieved through the parent which is passed to the |
262 |
|
constructor anyway and doesn't require an argument of its own, |
263 |
|
required for the unification of arguments for general use through |
264 |
|
properties-dialog selector. |
265 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
266 |
|
whether a dialog is already opened (and raising it to the users |
267 |
|
attention) and creating a new dialog into a function of its own |
268 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
269 |
|
method |
270 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
271 |
|
global registration of properties dialog classes (which are indeed |
272 |
|
layer-specific). |
273 |
|
|
274 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
275 |
|
for general use through properties-dialog selector, the map can be |
276 |
|
retrieved through the parent and doesn't require an argument of |
277 |
|
its own. |
278 |
|
|
279 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
280 |
|
the provided WMS layer |
281 |
|
|
282 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
283 |
|
|
284 |
|
New feature: Registry for Extensions. |
285 |
|
|
286 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
287 |
|
Extensions. |
288 |
|
|
289 |
|
* Thuban/UI/about.py (About.__init__): Added description |
290 |
|
of the registered extensions with all of the information. |
291 |
|
|
292 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
293 |
|
|
294 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
295 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
296 |
|
Extensions/wms/wms.py: Added registration of the extension. |
297 |
|
|
298 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
299 |
|
|
300 |
|
More fixes to svgexport to make used ids unique and |
301 |
|
conforming to XML's Name production. |
302 |
|
|
303 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
304 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
305 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
306 |
|
Added Bernhard R. as author. |
307 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
308 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
309 |
|
Also transform second id part with "%d" and catch the TypeError |
310 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
311 |
|
Corrected typo inBernhard's author line. |
312 |
|
(SetBaseID): Return the transformed base id. Transform characters |
313 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
314 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
315 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
316 |
|
for used_baseids checks. |
317 |
|
|
318 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
319 |
|
|
320 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
321 |
|
Remove a debug print and some tab characters. |
322 |
|
|
323 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
324 |
|
|
325 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
326 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
327 |
|
the interaction of the three functions and the XML id contrains. |
328 |
|
|
329 |
|
|
330 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
331 |
|
|
332 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
333 |
|
Module. |
334 |
|
|
335 |
|
* Doc/README: Added info on ThubanModel.xmi. |
336 |
|
|
337 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
338 |
|
|
339 |
|
* Doc/README: New. Some info about how to generate technical |
340 |
|
documentation from the source code. |
341 |
|
This text was send to the Thuban developer mailing list on |
342 |
|
September 21st 2004 by Bernhard Reiter. |
343 |
|
|
344 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
345 |
|
|
346 |
|
Improved the svgexport to only use unique ids. Will issues |
347 |
|
an error message dialoge when two layer names are the same. |
348 |
|
ShapeIDs are now added with a dash within the svg ids. |
349 |
|
|
350 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
351 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
352 |
|
(TestSVGRenderer): New test class with test_make_in() and |
353 |
|
test_check_for_layer_name_clash() |
354 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
355 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
356 |
|
satisfying test_check_for_layer_name_clash() |
357 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
358 |
|
test_make_in(). |
359 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
360 |
|
and wxICON_HAND. |
361 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
362 |
|
catching SVGmapWriterError notify the user and delete the target file. |
363 |
|
|
364 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
365 |
|
|
366 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
367 |
|
|
368 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
369 |
|
|
370 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
371 |
|
small bug with the line color. Now the line color will now only set |
372 |
|
if it is set in Thuban an not Transparent. |
373 |
|
|
374 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
375 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
376 |
|
from the last. |
377 |
|
|
378 |
|
2004-08-20 Silke Reimer <[email protected]> |
379 |
|
|
380 |
|
* Thuban/Model/layer.py: |
381 |
|
Fixes bug in projection handling: Otherwise very large region might not |
382 |
|
have valid values in the layer's projection. |
383 |
|
|
384 |
|
2004-08-20 Silke Reimer <[email protected]> |
385 |
|
|
386 |
|
* Thuban/UI/about.py: |
387 |
|
small changes to be consistent with coding style. |
388 |
|
|
389 |
|
2004-08-13 Martin Schulze <[email protected]> |
390 |
|
|
391 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
392 |
|
Adjusted a comment |
393 |
|
|
394 |
|
2004-08-11 Silke Reimer <[email protected]> |
395 |
|
|
396 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
397 |
|
too many and too enhanced imports of locale |
398 |
|
|
399 |
|
2004-08-10 Silke Reimer <[email protected]> |
400 |
|
|
401 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
402 |
|
function unicodeToLocale() to convert special characters to users |
403 |
|
locale encoding |
404 |
|
|
405 |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
406 |
|
|
407 |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |