1 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
4 |
|
|
5 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
6 |
|
|
7 |
|
Further elements for sizable point objects now |
8 |
|
making this feature usable though not yet complete. |
9 |
|
|
10 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
11 |
|
attribute 'size' for cldata when the shape layer is of point type. |
12 |
|
This also now make the test_load.py tests happy. |
13 |
|
|
14 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
15 |
|
gradient. |
16 |
|
|
17 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
18 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
19 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
20 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
21 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
22 |
|
for the size in case the corresponding layer is of point type. |
23 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
24 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
25 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
26 |
|
and refresh preview. |
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
2004-10-04 Martin Schulze <[email protected]> |
31 |
|
|
32 |
|
* Extensions/wms/test/test_parser.py |
33 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
34 |
|
self-test for compareLists() |
35 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
36 |
|
self-test for compareDicts() |
37 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
38 |
|
to verify the test routine fails with non-equal arguments |
39 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
40 |
|
to verify the test routine fails with non-equal arguments |
41 |
|
|
42 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
43 |
|
|
44 |
|
First elements for sizeable point objects. |
45 |
|
|
46 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
47 |
|
|
48 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
49 |
|
|
50 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
51 |
|
of a corresponding argument is given. |
52 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
53 |
|
|
54 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
55 |
|
(ClassGroupProperties.__init__): Set default size. |
56 |
|
(ClassGroupProperties.SetProperties): Set the size. |
57 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
58 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
59 |
|
(ClassGroupProperties__eq__): Compare also size. |
60 |
|
(ClassGroupProperties__repr__): Print also size. |
61 |
|
|
62 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
63 |
|
the size attribute. |
64 |
|
|
65 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
66 |
|
Also, now there is a return value that indicates whether the drawing |
67 |
|
size exceeded the given rect extent and if so the new extent. |
68 |
|
Finally, point objects are drawn depending on the size. If either |
69 |
|
the width or height is exceeded, the new extent is returned. |
70 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
71 |
|
evaluate the return value and, if not None, adapt the grid widget size |
72 |
|
accordingly and redraw again. |
73 |
|
|
74 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
75 |
|
If the draw function is for points, call it with the size as additional |
76 |
|
parameter. |
77 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
78 |
|
the size. Compute the radius using the size. |
79 |
|
|
80 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
81 |
|
that Thuban supports size, apply this correctly. |
82 |
|
|
83 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
84 |
|
|
85 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
86 |
|
|
87 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
88 |
|
Map chapter. |
89 |
|
|
90 |
|
2004-10-01 Martin Schulze <[email protected]> |
91 |
|
|
92 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
93 |
|
argument for general use through properties-dialog selector |
94 |
|
|
95 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
96 |
|
both provided layer classes/types. |
97 |
|
|
98 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
99 |
|
map can be retrieved through the parent which is passed to the |
100 |
|
constructor anyway and doesn't require an argument of its own, |
101 |
|
required for the unification of arguments for general use through |
102 |
|
properties-dialog selector. |
103 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
104 |
|
whether a dialog is already opened (and raising it to the users |
105 |
|
attention) and creating a new dialog into a function of its own |
106 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
107 |
|
method |
108 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
109 |
|
global registration of properties dialog classes (which are indeed |
110 |
|
layer-specific). |
111 |
|
|
112 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
113 |
|
for general use through properties-dialog selector, the map can be |
114 |
|
retrieved through the parent and doesn't require an argument of |
115 |
|
its own. |
116 |
|
|
117 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
118 |
|
the provided WMS layer |
119 |
|
|
120 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
121 |
|
|
122 |
|
New feature: Registry for Extensions. |
123 |
|
|
124 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
125 |
|
Extensions. |
126 |
|
|
127 |
|
* Thuban/UI/about.py (About.__init__): Added description |
128 |
|
of the registered extensions with all of the information. |
129 |
|
|
130 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
131 |
|
|
132 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
133 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
134 |
|
Extensions/wms/wms.py: Added registration of the extension. |
135 |
|
|
136 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
137 |
|
|
138 |
|
More fixes to svgexport to make used ids unique and |
139 |
|
conforming to XML's Name production. |
140 |
|
|
141 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
142 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
143 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
144 |
|
Added Bernhard R. as author. |
145 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
146 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
147 |
|
Also transform second id part with "%d" and catch the TypeError |
148 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
149 |
|
Corrected typo inBernhard's author line. |
150 |
|
(SetBaseID): Return the transformed base id. Transform characters |
151 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
152 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
153 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
154 |
|
for used_baseids checks. |
155 |
|
|
156 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
157 |
|
|
158 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
159 |
|
Remove a debug print and some tab characters. |
160 |
|
|
161 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
162 |
|
|
163 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
164 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
165 |
|
the interaction of the three functions and the XML id contrains. |
166 |
|
|
167 |
|
|
168 |
2004-09-23 Jan-Oliver Wagner <[email protected]> |
2004-09-23 Jan-Oliver Wagner <[email protected]> |
169 |
|
|
170 |
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |