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