1 |
|
2004-10-04 Martin Schulze <[email protected]> |
2 |
|
|
3 |
|
* Extensions/wms/test/test_parser.py |
4 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
5 |
|
self-test for compareLists() |
6 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
7 |
|
self-test for compareDicts() |
8 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
9 |
|
to verify the test routine fails with non-equal arguments |
10 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
11 |
|
to verify the test routine fails with non-equal arguments |
12 |
|
|
13 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
14 |
|
|
15 |
|
First elements for sizeable point objects. |
16 |
|
|
17 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
18 |
|
|
19 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
20 |
|
|
21 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
22 |
|
of a corresponding argument is given. |
23 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
24 |
|
|
25 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
26 |
|
(ClassGroupProperties.__init__): Set default size. |
27 |
|
(ClassGroupProperties.SetProperties): Set the size. |
28 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
29 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
30 |
|
(ClassGroupProperties__eq__): Compare also size. |
31 |
|
(ClassGroupProperties__repr__): Print also size. |
32 |
|
|
33 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
34 |
|
the size attribute. |
35 |
|
|
36 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
37 |
|
Also, now there is a return value that indicates whether the drawing |
38 |
|
size exceeded the given rect extent and if so the new extent. |
39 |
|
Finally, point objects are drawn depending on the size. If either |
40 |
|
the width or height is exceeded, the new extent is returned. |
41 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
42 |
|
evaluate the return value and, if not None, adapt the grid widget size |
43 |
|
accordingly and redraw again. |
44 |
|
|
45 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
46 |
|
If the draw function is for points, call it with the size as additional |
47 |
|
parameter. |
48 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
49 |
|
the size. Compute the radius using the size. |
50 |
|
|
51 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
52 |
|
that Thuban supports size, apply this correctly. |
53 |
|
|
54 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
55 |
|
|
56 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
57 |
|
|
58 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
59 |
|
Map chapter. |
60 |
|
|
61 |
|
2004-10-01 Martin Schulze <[email protected]> |
62 |
|
|
63 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
64 |
|
argument for general use through properties-dialog selector |
65 |
|
|
66 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
67 |
|
both provided layer classes/types. |
68 |
|
|
69 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
70 |
|
map can be retrieved through the parent which is passed to the |
71 |
|
constructor anyway and doesn't require an argument of its own, |
72 |
|
required for the unification of arguments for general use through |
73 |
|
properties-dialog selector. |
74 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
75 |
|
whether a dialog is already opened (and raising it to the users |
76 |
|
attention) and creating a new dialog into a function of its own |
77 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
78 |
|
method |
79 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
80 |
|
global registration of properties dialog classes (which are indeed |
81 |
|
layer-specific). |
82 |
|
|
83 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
84 |
|
for general use through properties-dialog selector, the map can be |
85 |
|
retrieved through the parent and doesn't require an argument of |
86 |
|
its own. |
87 |
|
|
88 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
89 |
|
the provided WMS layer |
90 |
|
|
91 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
92 |
|
|
93 |
|
New feature: Registry for Extensions. |
94 |
|
|
95 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
96 |
|
Extensions. |
97 |
|
|
98 |
|
* Thuban/UI/about.py (About.__init__): Added description |
99 |
|
of the registered extensions with all of the information. |
100 |
|
|
101 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
102 |
|
|
103 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
104 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
105 |
|
Extensions/wms/wms.py: Added registration of the extension. |
106 |
|
|
107 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
108 |
|
|
109 |
|
More fixes to svgexport to make used ids unique and |
110 |
|
conforming to XML's Name production. |
111 |
|
|
112 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
113 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
114 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
115 |
|
Added Bernhard R. as author. |
116 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
117 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
118 |
|
Also transform second id part with "%d" and catch the TypeError |
119 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
120 |
|
Corrected typo inBernhard's author line. |
121 |
|
(SetBaseID): Return the transformed base id. Transform characters |
122 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
123 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
124 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
125 |
|
for used_baseids checks. |
126 |
|
|
127 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
128 |
|
|
129 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
130 |
|
Remove a debug print and some tab characters. |
131 |
|
|
132 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
133 |
|
|
134 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
135 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
136 |
|
the interaction of the three functions and the XML id contrains. |
137 |
|
|
138 |
|
|
139 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
140 |
|
|
141 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
142 |
|
Module. |
143 |
|
|
144 |
|
* Doc/README: Added info on ThubanModel.xmi. |
145 |
|
|
146 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
147 |
|
|
148 |
|
* Doc/README: New. Some info about how to generate technical |
149 |
|
documentation from the source code. |
150 |
|
This text was send to the Thuban developer mailing list on |
151 |
|
September 21st 2004 by Bernhard Reiter. |
152 |
|
|
153 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
154 |
|
|
155 |
|
Improved the svgexport to only use unique ids. Will issues |
156 |
|
an error message dialoge when two layer names are the same. |
157 |
|
ShapeIDs are now added with a dash within the svg ids. |
158 |
|
|
159 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
160 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
161 |
|
(TestSVGRenderer): New test class with test_make_in() and |
162 |
|
test_check_for_layer_name_clash() |
163 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
164 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
165 |
|
satisfying test_check_for_layer_name_clash() |
166 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
167 |
|
test_make_in(). |
168 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
169 |
|
and wxICON_HAND. |
170 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
171 |
|
catching SVGmapWriterError notify the user and delete the target file. |
172 |
|
|
173 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
174 |
|
|
175 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
176 |
|
|
177 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
178 |
|
|
179 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
180 |
|
small bug with the line color. Now the line color will now only set |
181 |
|
if it is set in Thuban an not Transparent. |
182 |
|
|
183 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
184 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
185 |
|
from the last. |
186 |
|
|
187 |
|
2004-08-20 Silke Reimer <[email protected]> |
188 |
|
|
189 |
|
* Thuban/Model/layer.py: |
190 |
|
Fixes bug in projection handling: Otherwise very large region might not |
191 |
|
have valid values in the layer's projection. |
192 |
|
|
193 |
|
2004-08-20 Silke Reimer <[email protected]> |
194 |
|
|
195 |
|
* Thuban/UI/about.py: |
196 |
|
small changes to be consistent with coding style. |
197 |
|
|
198 |
|
2004-08-13 Martin Schulze <[email protected]> |
199 |
|
|
200 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
201 |
|
Adjusted a comment |
202 |
|
|
203 |
|
2004-08-11 Silke Reimer <[email protected]> |
204 |
|
|
205 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
206 |
|
too many and too enhanced imports of locale |
207 |
|
|
208 |
|
2004-08-10 Silke Reimer <[email protected]> |
209 |
|
|
210 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
211 |
|
function unicodeToLocale() to convert special characters to users |
212 |
|
locale encoding |
213 |
|
|
214 |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
215 |
|
|
216 |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |