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