1 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Further elements for sizable point objects now |
4 |
|
making this feature usable though not yet complete. |
5 |
|
|
6 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
7 |
|
attribute 'size' for cldata when the shape layer is of point type. |
8 |
|
This also now make the test_load.py tests happy. |
9 |
|
|
10 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
11 |
|
gradient. |
12 |
|
|
13 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
14 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
15 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
16 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
17 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
18 |
|
for the size in case the corresponding layer is of point type. |
19 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
20 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
21 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
22 |
|
and refresh preview. |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
2004-10-04 Martin Schulze <[email protected]> |
27 |
|
|
28 |
|
* Extensions/wms/test/test_parser.py |
29 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
30 |
|
self-test for compareLists() |
31 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
32 |
|
self-test for compareDicts() |
33 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
34 |
|
to verify the test routine fails with non-equal arguments |
35 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
36 |
|
to verify the test routine fails with non-equal arguments |
37 |
|
|
38 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
39 |
|
|
40 |
|
First elements for sizeable point objects. |
41 |
|
|
42 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
43 |
|
|
44 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
45 |
|
|
46 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
47 |
|
of a corresponding argument is given. |
48 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
49 |
|
|
50 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
51 |
|
(ClassGroupProperties.__init__): Set default size. |
52 |
|
(ClassGroupProperties.SetProperties): Set the size. |
53 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
54 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
55 |
|
(ClassGroupProperties__eq__): Compare also size. |
56 |
|
(ClassGroupProperties__repr__): Print also size. |
57 |
|
|
58 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
59 |
|
the size attribute. |
60 |
|
|
61 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
62 |
|
Also, now there is a return value that indicates whether the drawing |
63 |
|
size exceeded the given rect extent and if so the new extent. |
64 |
|
Finally, point objects are drawn depending on the size. If either |
65 |
|
the width or height is exceeded, the new extent is returned. |
66 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
67 |
|
evaluate the return value and, if not None, adapt the grid widget size |
68 |
|
accordingly and redraw again. |
69 |
|
|
70 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
71 |
|
If the draw function is for points, call it with the size as additional |
72 |
|
parameter. |
73 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
74 |
|
the size. Compute the radius using the size. |
75 |
|
|
76 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
77 |
|
that Thuban supports size, apply this correctly. |
78 |
|
|
79 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
80 |
|
|
81 |
2004-10-03 Jan-Oliver Wagner <[email protected]> |
2004-10-03 Jan-Oliver Wagner <[email protected]> |
82 |
|
|
83 |
* Doc/manual/thuban-manual-de.xml: Started translation of |
* Doc/manual/thuban-manual-de.xml: Started translation of |