1 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Another open issue regarding sizeable symbols: correct rendering of |
4 |
|
selected symbols. |
5 |
|
|
6 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
7 |
|
Added consideration of the specific size of point symbols. |
8 |
|
The property for each point symbol is retrieved and the size applied |
9 |
|
for the rendering method. |
10 |
|
Added doc-string. |
11 |
|
|
12 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
13 |
|
|
14 |
|
Changed way of Extension Registry for gns2shp and profiling. |
15 |
|
|
16 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
17 |
|
__init__.py). |
18 |
|
|
19 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
20 |
|
of the actual gns2shp module. |
21 |
|
|
22 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
23 |
|
__init__.py). |
24 |
|
|
25 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
26 |
|
of the actual profiling module. |
27 |
|
|
28 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
29 |
|
|
30 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
31 |
|
|
32 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
33 |
|
|
34 |
|
Further elements for sizable point objects now |
35 |
|
making this feature usable though not yet complete. |
36 |
|
|
37 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
38 |
|
attribute 'size' for cldata when the shape layer is of point type. |
39 |
|
This also now make the test_load.py tests happy. |
40 |
|
|
41 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
42 |
|
gradient. |
43 |
|
|
44 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
45 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
46 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
47 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
48 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
49 |
|
for the size in case the corresponding layer is of point type. |
50 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
51 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
52 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
53 |
|
and refresh preview. |
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
2004-10-04 Martin Schulze <[email protected]> |
58 |
|
|
59 |
|
* Extensions/wms/test/test_parser.py |
60 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
61 |
|
self-test for compareLists() |
62 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
63 |
|
self-test for compareDicts() |
64 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
65 |
|
to verify the test routine fails with non-equal arguments |
66 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
67 |
|
to verify the test routine fails with non-equal arguments |
68 |
|
|
69 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
70 |
|
|
71 |
|
First elements for sizeable point objects. |
72 |
|
|
73 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
74 |
|
|
75 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
76 |
|
|
77 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
78 |
|
of a corresponding argument is given. |
79 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
80 |
|
|
81 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
82 |
|
(ClassGroupProperties.__init__): Set default size. |
83 |
|
(ClassGroupProperties.SetProperties): Set the size. |
84 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
85 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
86 |
|
(ClassGroupProperties__eq__): Compare also size. |
87 |
|
(ClassGroupProperties__repr__): Print also size. |
88 |
|
|
89 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
90 |
|
the size attribute. |
91 |
|
|
92 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
93 |
|
Also, now there is a return value that indicates whether the drawing |
94 |
|
size exceeded the given rect extent and if so the new extent. |
95 |
|
Finally, point objects are drawn depending on the size. If either |
96 |
|
the width or height is exceeded, the new extent is returned. |
97 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
98 |
|
evaluate the return value and, if not None, adapt the grid widget size |
99 |
|
accordingly and redraw again. |
100 |
|
|
101 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
102 |
|
If the draw function is for points, call it with the size as additional |
103 |
|
parameter. |
104 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
105 |
|
the size. Compute the radius using the size. |
106 |
|
|
107 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
108 |
|
that Thuban supports size, apply this correctly. |
109 |
|
|
110 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
111 |
|
|
112 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
113 |
|
|
114 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
115 |
|
Map chapter. |
116 |
|
|
117 |
|
2004-10-01 Martin Schulze <[email protected]> |
118 |
|
|
119 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
120 |
|
argument for general use through properties-dialog selector |
121 |
|
|
122 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
123 |
|
both provided layer classes/types. |
124 |
|
|
125 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
126 |
|
map can be retrieved through the parent which is passed to the |
127 |
|
constructor anyway and doesn't require an argument of its own, |
128 |
|
required for the unification of arguments for general use through |
129 |
|
properties-dialog selector. |
130 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
131 |
|
whether a dialog is already opened (and raising it to the users |
132 |
|
attention) and creating a new dialog into a function of its own |
133 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
134 |
|
method |
135 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
136 |
|
global registration of properties dialog classes (which are indeed |
137 |
|
layer-specific). |
138 |
|
|
139 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
140 |
|
for general use through properties-dialog selector, the map can be |
141 |
|
retrieved through the parent and doesn't require an argument of |
142 |
|
its own. |
143 |
|
|
144 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
145 |
|
the provided WMS layer |
146 |
|
|
147 |
2004-09-28 Jan-Oliver Wagner <[email protected]> |
2004-09-28 Jan-Oliver Wagner <[email protected]> |
148 |
|
|
149 |
New feature: Registry for Extensions. |
New feature: Registry for Extensions. |