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]> |
143 |
|
|
144 |
|
* Doc/README: New. Some info about how to generate technical |
145 |
|
documentation from the source code. |
146 |
|
This text was send to the Thuban developer mailing list on |
147 |
|
September 21st 2004 by Bernhard Reiter. |
148 |
|
|
149 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
150 |
|
|
151 |
|
Improved the svgexport to only use unique ids. Will issues |
152 |
|
an error message dialoge when two layer names are the same. |
153 |
|
ShapeIDs are now added with a dash within the svg ids. |
154 |
|
|
155 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
156 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
157 |
|
(TestSVGRenderer): New test class with test_make_in() and |
158 |
|
test_check_for_layer_name_clash() |
159 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
160 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
161 |
|
satisfying test_check_for_layer_name_clash() |
162 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
163 |
|
test_make_in(). |
164 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
165 |
|
and wxICON_HAND. |
166 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
167 |
|
catching SVGmapWriterError notify the user and delete the target file. |
168 |
|
|
169 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
170 |
|
|
171 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
172 |
|
|
173 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
174 |
|
|
175 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
176 |
|
small bug with the line color. Now the line color will now only set |
177 |
|
if it is set in Thuban an not Transparent. |
178 |
|
|
179 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
180 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
181 |
|
from the last. |
182 |
|
|
183 |
|
2004-08-20 Silke Reimer <[email protected]> |
184 |
|
|
185 |
|
* Thuban/Model/layer.py: |
186 |
|
Fixes bug in projection handling: Otherwise very large region might not |
187 |
|
have valid values in the layer's projection. |
188 |
|
|
189 |
|
2004-08-20 Silke Reimer <[email protected]> |
190 |
|
|
191 |
|
* Thuban/UI/about.py: |
192 |
|
small changes to be consistent with coding style. |
193 |
|
|
194 |
|
2004-08-13 Martin Schulze <[email protected]> |
195 |
|
|
196 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
197 |
|
Adjusted a comment |
198 |
|
|
199 |
|
2004-08-11 Silke Reimer <[email protected]> |
200 |
|
|
201 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
202 |
|
too many and too enhanced imports of locale |
203 |
|
|
204 |
|
2004-08-10 Silke Reimer <[email protected]> |
205 |
|
|
206 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
207 |
|
function unicodeToLocale() to convert special characters to users |
208 |
|
locale encoding |
209 |
|
|
210 |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
211 |
|
|
212 |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |