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