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