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