1 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
4 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
5 |
|
debug prints |
6 |
|
|
7 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
8 |
|
|
9 |
|
Fix broken tests for svg extension and added svg legend |
10 |
|
to Experimental menu. |
11 |
|
|
12 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
13 |
|
the test run correctly even if the extension is a package. |
14 |
|
Also removed the "import Thuban" which makes no sense. |
15 |
|
|
16 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
17 |
|
test module also be executed from the global test routine. |
18 |
|
This is done by looking for the absense of the DISPLAY variable. |
19 |
|
|
20 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
21 |
|
to Experimental menu since this module has yet not reached a stable |
22 |
|
status (ie. 1.0). |
23 |
|
|
24 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
25 |
|
|
26 |
|
* Extensions/svgexport/svgmapwriter.py: |
27 |
|
Added verbose variable and some logging depending on it. |
28 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
29 |
|
because counting i is not necessary. |
30 |
|
(class Pen, class Brush): Added simple __str__ methods. |
31 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
32 |
|
not exported to svg file) Note: holes still unhandled. |
33 |
|
|
34 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
35 |
|
Made a baseclass TestWithDC for test needed a DC. |
36 |
|
Added tests for bug #2698 (transparent polygons are not |
37 |
|
exported to svg file): |
38 |
|
Testobjectexport.test_transparent_polygon() |
39 |
|
|
40 |
|
* Thuban/Model/base.py (UnsetModified): |
41 |
|
Fixed some typos in docstring. |
42 |
|
|
43 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
44 |
|
Added hints on the used algorithm for handling holes. |
45 |
|
|
46 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
47 |
|
|
48 |
|
Some face lifting for the examples. |
49 |
|
|
50 |
|
* Examples/__init__.py: Make this directory a package. |
51 |
|
|
52 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
53 |
|
|
54 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
55 |
|
menu to Examples menu. |
56 |
|
|
57 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
58 |
|
minor changes. |
59 |
|
|
60 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
61 |
|
|
62 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
63 |
|
|
64 |
|
Changed way of extension registry for wms and added extension |
65 |
|
registry for umn_mapserver extension. |
66 |
|
|
67 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
68 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
69 |
|
|
70 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
71 |
|
|
72 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
73 |
|
importing of the actual umn mapserver management modules. |
74 |
|
Included a test for the required Python MapScript. |
75 |
|
|
76 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
77 |
|
|
78 |
|
Changed way of extension registry for importAPR, bboxdump |
79 |
|
and added extension registry for svgexport.extension registry for |
80 |
|
svgexport. |
81 |
|
|
82 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
83 |
|
of the actual importAPR module. |
84 |
|
|
85 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
86 |
|
__init__.py). |
87 |
|
|
88 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
89 |
|
����of the actual bboxdump module. |
90 |
|
|
91 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
92 |
|
����__init__.py). |
93 |
|
|
94 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
95 |
|
of the svgsaver module. |
96 |
|
|
97 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
98 |
|
to Experimental menu since this module has yet not reached a stable |
99 |
|
status (ie. 1.0). |
100 |
|
|
101 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
102 |
|
|
103 |
|
Now the hit test considers the size of point symbols. |
104 |
|
|
105 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
106 |
|
'size' defaulting to the previously fixed value 5. |
107 |
|
Extended doc-string. |
108 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
109 |
|
for symbols. |
110 |
|
Now the size of the largest point symbol is determined to find out |
111 |
|
about whether the point has been hit. |
112 |
|
This fixes the problem that only clicks inside a fixed distance of |
113 |
|
5 where found. |
114 |
|
|
115 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
116 |
|
|
117 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
118 |
|
selected symbols. |
119 |
|
|
120 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
121 |
|
Added consideration of the specific size of point symbols. |
122 |
|
The property for each point symbol is retrieved and the size applied |
123 |
|
for the rendering method. |
124 |
|
Added doc-string. |
125 |
|
|
126 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
127 |
|
|
128 |
|
Changed way of Extension Registry for gns2shp and profiling. |
129 |
|
|
130 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
131 |
|
__init__.py). |
132 |
|
|
133 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
134 |
|
of the actual gns2shp module. |
135 |
|
|
136 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
137 |
|
__init__.py). |
138 |
|
|
139 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
140 |
|
of the actual profiling module. |
141 |
|
|
142 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
143 |
|
|
144 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
145 |
|
|
146 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
147 |
|
|
148 |
|
Further elements for sizable point objects now |
149 |
|
making this feature usable though not yet complete. |
150 |
|
|
151 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
152 |
|
attribute 'size' for cldata when the shape layer is of point type. |
153 |
|
This also now make the test_load.py tests happy. |
154 |
|
|
155 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
156 |
|
gradient. |
157 |
|
|
158 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
159 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
160 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
161 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
162 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
163 |
|
for the size in case the corresponding layer is of point type. |
164 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
165 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
166 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
167 |
|
and refresh preview. |
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
2004-10-04 Martin Schulze <[email protected]> |
172 |
|
|
173 |
|
* Extensions/wms/test/test_parser.py |
174 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
175 |
|
self-test for compareLists() |
176 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
177 |
|
self-test for compareDicts() |
178 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
179 |
|
to verify the test routine fails with non-equal arguments |
180 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
181 |
|
to verify the test routine fails with non-equal arguments |
182 |
|
|
183 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
184 |
|
|
185 |
|
First elements for sizeable point objects. |
186 |
|
|
187 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
188 |
|
|
189 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
190 |
|
|
191 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
192 |
|
of a corresponding argument is given. |
193 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
194 |
|
|
195 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
196 |
|
(ClassGroupProperties.__init__): Set default size. |
197 |
|
(ClassGroupProperties.SetProperties): Set the size. |
198 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
199 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
200 |
|
(ClassGroupProperties__eq__): Compare also size. |
201 |
|
(ClassGroupProperties__repr__): Print also size. |
202 |
|
|
203 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
204 |
|
the size attribute. |
205 |
|
|
206 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
207 |
|
Also, now there is a return value that indicates whether the drawing |
208 |
|
size exceeded the given rect extent and if so the new extent. |
209 |
|
Finally, point objects are drawn depending on the size. If either |
210 |
|
the width or height is exceeded, the new extent is returned. |
211 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
212 |
|
evaluate the return value and, if not None, adapt the grid widget size |
213 |
|
accordingly and redraw again. |
214 |
|
|
215 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
216 |
|
If the draw function is for points, call it with the size as additional |
217 |
|
parameter. |
218 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
219 |
|
the size. Compute the radius using the size. |
220 |
|
|
221 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
222 |
|
that Thuban supports size, apply this correctly. |
223 |
|
|
224 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
225 |
|
|
226 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
227 |
|
|
228 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
229 |
|
Map chapter. |
230 |
|
|
231 |
|
2004-10-01 Martin Schulze <[email protected]> |
232 |
|
|
233 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
234 |
|
argument for general use through properties-dialog selector |
235 |
|
|
236 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
237 |
|
both provided layer classes/types. |
238 |
|
|
239 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
240 |
|
map can be retrieved through the parent which is passed to the |
241 |
|
constructor anyway and doesn't require an argument of its own, |
242 |
|
required for the unification of arguments for general use through |
243 |
|
properties-dialog selector. |
244 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
245 |
|
whether a dialog is already opened (and raising it to the users |
246 |
|
attention) and creating a new dialog into a function of its own |
247 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
248 |
|
method |
249 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
250 |
|
global registration of properties dialog classes (which are indeed |
251 |
|
layer-specific). |
252 |
|
|
253 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
254 |
|
for general use through properties-dialog selector, the map can be |
255 |
|
retrieved through the parent and doesn't require an argument of |
256 |
|
its own. |
257 |
|
|
258 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
259 |
|
the provided WMS layer |
260 |
|
|
261 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
262 |
|
|
263 |
|
New feature: Registry for Extensions. |
264 |
|
|
265 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
266 |
|
Extensions. |
267 |
|
|
268 |
|
* Thuban/UI/about.py (About.__init__): Added description |
269 |
|
of the registered extensions with all of the information. |
270 |
|
|
271 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
272 |
|
|
273 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
274 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
275 |
|
Extensions/wms/wms.py: Added registration of the extension. |
276 |
|
|
277 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
278 |
|
|
279 |
|
More fixes to svgexport to make used ids unique and |
280 |
|
conforming to XML's Name production. |
281 |
|
|
282 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
283 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
284 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
285 |
|
Added Bernhard R. as author. |
286 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
287 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
288 |
|
Also transform second id part with "%d" and catch the TypeError |
289 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
290 |
|
Corrected typo inBernhard's author line. |
291 |
|
(SetBaseID): Return the transformed base id. Transform characters |
292 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
293 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
294 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
295 |
|
for used_baseids checks. |
296 |
|
|
297 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
298 |
|
|
299 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
300 |
|
Remove a debug print and some tab characters. |
301 |
|
|
302 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
303 |
|
|
304 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
305 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
306 |
|
the interaction of the three functions and the XML id contrains. |
307 |
|
|
308 |
|
|
309 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
310 |
|
|
311 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
312 |
|
Module. |
313 |
|
|
314 |
|
* Doc/README: Added info on ThubanModel.xmi. |
315 |
|
|
316 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
317 |
|
|
318 |
|
* Doc/README: New. Some info about how to generate technical |
319 |
|
documentation from the source code. |
320 |
|
This text was send to the Thuban developer mailing list on |
321 |
|
September 21st 2004 by Bernhard Reiter. |
322 |
|
|
323 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
324 |
|
|
325 |
|
Improved the svgexport to only use unique ids. Will issues |
326 |
|
an error message dialoge when two layer names are the same. |
327 |
|
ShapeIDs are now added with a dash within the svg ids. |
328 |
|
|
329 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
330 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
331 |
|
(TestSVGRenderer): New test class with test_make_in() and |
332 |
|
test_check_for_layer_name_clash() |
333 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
334 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
335 |
|
satisfying test_check_for_layer_name_clash() |
336 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
337 |
|
test_make_in(). |
338 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
339 |
|
and wxICON_HAND. |
340 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
341 |
|
catching SVGmapWriterError notify the user and delete the target file. |
342 |
|
|
343 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
344 |
|
|
345 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
346 |
|
|
347 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
348 |
|
|
349 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
350 |
|
small bug with the line color. Now the line color will now only set |
351 |
|
if it is set in Thuban an not Transparent. |
352 |
|
|
353 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
354 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
355 |
|
from the last. |
356 |
|
|
357 |
|
2004-08-20 Silke Reimer <[email protected]> |
358 |
|
|
359 |
|
* Thuban/Model/layer.py: |
360 |
|
Fixes bug in projection handling: Otherwise very large region might not |
361 |
|
have valid values in the layer's projection. |
362 |
|
|
363 |
|
2004-08-20 Silke Reimer <[email protected]> |
364 |
|
|
365 |
|
* Thuban/UI/about.py: |
366 |
|
small changes to be consistent with coding style. |
367 |
|
|
368 |
|
2004-08-13 Martin Schulze <[email protected]> |
369 |
|
|
370 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
371 |
|
Adjusted a comment |
372 |
|
|
373 |
|
2004-08-11 Silke Reimer <[email protected]> |
374 |
|
|
375 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
376 |
|
too many and too enhanced imports of locale |
377 |
|
|
378 |
|
2004-08-10 Silke Reimer <[email protected]> |
379 |
|
|
380 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
381 |
|
function unicodeToLocale() to convert special characters to users |
382 |
|
locale encoding |
383 |
|
|
384 |
|
2004-08-10 Jan-Oliver Wagner <[email protected]> |
385 |
|
|
386 |
|
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
387 |
|
lower case letter' |
388 |
|
|
389 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
390 |
|
|
391 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
392 |
|
the standard way. |
393 |
|
|
394 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
395 |
|
the function where it is needed, because it don't works if it stands |
396 |
|
at the beginning. |
397 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
398 |
|
numclasses from the mapscript will be used. |
399 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
400 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
401 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
402 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
403 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
404 |
|
with the mapscript object. |
405 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
406 |
|
the mapscript. |
407 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
408 |
|
linked to the layer in thuban, else the layerobject linked to the |
409 |
|
thubanlayer will be used. |
410 |
|
AnnotationLayer will now store the filename of the shapefile. |
411 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
412 |
|
must be set new. |
413 |
|
|
414 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
415 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
416 |
|
will be removed from the mapobj. |
417 |
|
Added comments to all functions. |
418 |
|
(thuban_to_map): No layer will be removed here. |
419 |
|
|
420 |
|
* Extensions/umn_mapserver/mf_handle.py |
421 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
422 |
|
Layersettings for the mapserver kann be edited. |
423 |
|
|
424 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
425 |
|
imported, will be linked with the associated MF_Layer. |
426 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
427 |
|
Disable the "import layer from mapfile" menu option. |
428 |
|
|
429 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
430 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
431 |
|
layer on permanently. |
432 |
|
|
433 |
|
2004-08-03 Jan Sch�ngel <[email protected]> |
434 |
|
|
435 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
436 |
|
New. This function removes all metadata |
437 |
|
(MF_Layer.set_group): New. Set the group setting. |
438 |
|
(MF_Layer.get_group): New. Get the group setting. |
439 |
|
(MF_Map): Removed the extra numlayers variable, used the mapscript |
440 |
|
parameter instead. |
441 |
|
(MF_Map.get_numlayers): New. This get numlayers. |
442 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
443 |
|
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
444 |
|
if the object is an instance. Also added the annotation layer here to |
445 |
|
export, but only the layer is created in the mapfile. |
446 |
|
|
447 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
448 |
|
the check if a mapobj exist, because its not needed anymore. The |
449 |
|
export function is only available if a mapobj exist. |
450 |
|
Use the new function to remove all layers. |
451 |
|
|
452 |
|
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
453 |
|
option and the metadata button. The layer dialog is temporary disabled. |
454 |
|
(Metadata_CustomDataTable): Added some functions to show the grid |
455 |
|
correct. |
456 |
|
|
457 |
|
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
458 |
|
the number of layer from import_mapfile to this function. |
459 |
|
(AnnotationLayer): New. This Class shows the Annotation layer in |
460 |
|
thuban. The layer don't do anything. It's only to show the layer |
461 |
|
and to save the layer order. |
462 |
|
(add_annotationlayer): New. Import an annotation layer to thuban. |
463 |
|
(select_layer2import): New. Import only layers to thuban and not |
464 |
|
the other settings like projection or scalebar. |
465 |
|
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
466 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
467 |
|
|
468 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
469 |
|
parameter to the roads and cultural layers. Also added a new |
470 |
|
Annotation Layer for the cultural points. |
471 |
|
|
472 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added the select |
473 |
|
option for the annotation layer. |
474 |
|
|
475 |
|
* Extensions/umn_mapserver/sample/index.html: Added the start |
476 |
|
parameter for the annotation layer. |
477 |
|
|
478 |
|
2004-08-01 Jan-Oliver Wagner <[email protected]> |
479 |
|
|
480 |
|
* Doc/manual/thuban-manual-de.xml (Chapter Session Management): |
481 |
|
translation completed. |
482 |
|
|
483 |
|
* Doc/manual/thuban-manual.xml (Chapter Session Management): |
484 |
|
Fixed unprecise description for Save Session. |
485 |
|
|
486 |
|
2004-07-31 Jan-Oliver Wagner <[email protected]> |
487 |
|
|
488 |
|
Started translation of Users Manual into german. |
489 |
|
|
490 |
|
* Doc/manual/thuban-manual-de.xml: New. German Users Manual. |
491 |
|
|
492 |
|
* Doc/manual/Makefile: Added build instructions for german |
493 |
|
users manual. |
494 |
|
|
495 |
|
* Doc/manual/thuban-manual.xml: Minor corrections in Introduction. |
496 |
|
|
497 |
|
2004-07-28 Jan Sch�ngel <[email protected]> |
498 |
|
|
499 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class |
500 |
|
functions. Now all metadata will handle by the function and its not |
501 |
|
needed to initialize it from outside. Therefor the associated mapobj |
502 |
|
will be stored in the Metadata Object. So we can use the special |
503 |
|
functions from the associated mapobj to get the Metadata. |
504 |
|
Therefor all initialization code for the metadata is removed from the |
505 |
|
other classes. |
506 |
|
(MF_Layer): Added a function to get the metadata object. |
507 |
|
(MF_Map): Added a function to set the mappath, the path where |
508 |
|
the mapfile ist stored. |
509 |
|
|
510 |
|
* Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code |
511 |
|
to set the extent in the mapfile. Now the code is set by the displayed |
512 |
|
data in the Thuban-view. |
513 |
|
(export_mapfile): The shapepath is now set empty, until relative |
514 |
|
pathnames are supported. |
515 |
|
|
516 |
|
* Extension/umn_mapserver/mf_handle.py: Added a dialog to handle |
517 |
|
metadata. Yet only mapfile metadata are supported. Layer and class |
518 |
|
supported are not implemented. |
519 |
|
Added a dialog to handle layer informations. The dialog only shows the |
520 |
|
selected layer at the moment. |
521 |
|
|
522 |
|
* Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the |
523 |
|
code for setting the extent in thuban. Now the extent is set to the |
524 |
|
given extent from the mapfile. |
525 |
|
Fixed a logical mistake. Now the extent is set when realy a layer is |
526 |
|
loaded, and not if one is selected to load. |
527 |
|
|
528 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and |
529 |
|
move the shown map in the browser. |
530 |
|
|
531 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added a new metadata |
532 |
|
line to the mapobj and added metadata to the political layer. |
533 |
|
|
534 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Changed the test |
535 |
|
for Metadata. |
536 |
|
|
537 |
|
2004-07-26 Martin Schulze <[email protected]> |
538 |
|
|
539 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
540 |
|
ClassMapper |
541 |
|
|
542 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
543 |
|
case for the new ClassMapper |
544 |
|
|
545 |
|
|
546 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
547 |
|
|
548 |
|
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
549 |
|
visible extent of the map in projected coordinates |
550 |
|
|
551 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size) |
552 |
|
(SimpleViewPortTest.test_init_with_size): Add some VisibleExtent() |
553 |
|
tests. |
554 |
|
(SimpleViewPortTest.test_visible_extent): New. The real test for |
555 |
|
VisibleExtent() |
556 |
|
|
557 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
558 |
|
|
559 |
|
* test/test_viewport.py: Use support.run_tests as the main |
560 |
|
function when running asa script. |
561 |
|
|
562 |
|
2004-07-22 Jan Sch�ngel <[email protected]> |
563 |
|
|
564 |
|
* Extensions/umn_mapserver/mf_export.py: Added "import os" |
565 |
|
Removed the old "import Thuban.UI.mainwindow" code. |
566 |
|
(tbextent_to_map): Removed the extra function and at the code direct |
567 |
|
to "thuban_to_map" function. |
568 |
|
(write_creatorcomment): Added. Now a short comment is added to the |
569 |
|
beginning of an generated mapfile. |
570 |
|
(export_mapfile): Now the Path and filename are saved in to variables, |
571 |
|
and not together in one variable. This is needed for the new |
572 |
|
write_creatorcomment function. |
573 |
|
|
574 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the |
575 |
|
import module "re". Also added Range and the ClassGroupRange import |
576 |
|
from Thuban. Both are needed for the new range expression import. |
577 |
|
(create_rangeexpression): Added. Creates a Range Expression in Thuban |
578 |
|
style from a given mapfile expression. |
579 |
|
(added_rasterlayer): Make some small code changes. The shapepath is |
580 |
|
now stored in an extra variable and the clazz_name is set empty if no |
581 |
|
class name set in the mapfile. |
582 |
|
Changed the Error message for Range Expressions, becaus the new |
583 |
|
function create a error string which will be shown in the dialog. |
584 |
|
|
585 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
586 |
|
range expression import. |
587 |
|
|
588 |
|
2004-07-21 Jan-Oliver Wagner <[email protected]> |
589 |
|
|
590 |
|
* Extensions/umn_mapserver/README: Added hint that |
591 |
|
installation as root can be avoided. Removed all tabs. |
592 |
|
|
593 |
|
2004-07-16 Bernhard Herzog <[email protected]> |
594 |
|
|
595 |
|
* test/test_viewport.py |
596 |
|
(ViewPortTest.test_changing_map_projection): Check that changing |
597 |
|
the projection of an empty map shown in a viewport doesn't lead to |
598 |
|
exceptions in the viewport's handler for the |
599 |
|
MAP_PROJECTION_CHANGED messages |
600 |
|
|
601 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only |
602 |
|
try to keep the same region visible when the map actually contains |
603 |
|
something |
604 |
|
|
605 |
|
2004-07-15 Jan Sch�ngel <[email protected]> |
606 |
|
|
607 |
|
* Extensions/umn_mapserver/mapfile.py: Added a function to get the |
608 |
|
mappath directly from the mapobj. Is needed because of the changes |
609 |
|
in mf_import.py. |
610 |
|
(MF_Layer.add_thubanclass): Added a new comment. |
611 |
|
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the |
612 |
|
mapobj is empty there is no extent get from thuban an so no one can |
613 |
|
set to th mapobj. |
614 |
|
|
615 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated |
616 |
|
the discription. |
617 |
|
Split the funktion in to three smaller ones. The new functions are |
618 |
|
add_rasterlayer, add_polygonlayer and select_layer2import. |
619 |
|
Removed the mapfilepath and filepath initialisation, because its know |
620 |
|
include in the new functions. |
621 |
|
Now nothing will be imported if cancel is pressed in the |
622 |
|
layer choice dialog. |
623 |
|
|
624 |
|
2004-07-14 Jan Sch�ngel <[email protected]> |
625 |
|
|
626 |
|
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
627 |
|
import. |
628 |
|
(MF_Symbolset): Removed the extra variable for numsymbols. |
629 |
|
(MF_Class.__init__): Added a comment to the exception clause. |
630 |
|
Removed the extent init, because it was not needed anymore. |
631 |
|
(MF_Layer.add_thubanclass): Added the code to set the class name to |
632 |
|
the expression value from thuban if no label is defined. |
633 |
|
Added the code to export Range expressions from thuban to the mapfile. |
634 |
|
(MF_Map.set_extent): Removed the exception and replace it by some if |
635 |
|
code. If the size of a map is not defined the size will be set to 1,1. |
636 |
|
This is necessary because if the extent is set, mapscript checks if |
637 |
|
the size is greater than zero. |
638 |
|
(MF_Web): Added the get and set function for the template. |
639 |
|
|
640 |
|
* Extensions/umn_mapserver/mf_export.py: Added the function to check |
641 |
|
if a mapobject exists and used it to set the status of the menu items. |
642 |
|
If no mapfile exists the settings could not be edditied. |
643 |
|
Define after which menuitem the exportitem will include. |
644 |
|
|
645 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the import |
646 |
|
Thuban.UI.mainwindow clause, because it is not needed. |
647 |
|
Added the command Refresh() to all "OnChangeColor()" functions, |
648 |
|
because the color preview window was not updated on a color change. |
649 |
|
Added the function to check if a mapobject exists and used it to set the |
650 |
|
status of the menu items. If no mapobject exists the settings could not |
651 |
|
be edditied. |
652 |
|
(Map_Dialog): Moved the imagetype selector from the |
653 |
|
Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog. |
654 |
|
(Web_Dialog): Removed the name label and added the template textbox. |
655 |
|
|
656 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace |
657 |
|
the exception handling on loading the layers by an if statement. It |
658 |
|
is not necessary to us the exception there. |
659 |
|
The Filepath creation now use os.path.join to build the path. |
660 |
|
|
661 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap |
662 |
|
definition from global to the setUp function. Now the testMap will |
663 |
|
initialize new on each test. |
664 |
|
|
665 |
|
* Extensions/umn_mapserver/sample/iceland.map: Include three new |
666 |
|
classes in the Line Layer, to test logical Expressions. |
667 |
|
Set the status of the class "Point9" in the Point Layer to off |
668 |
|
|
669 |
|
2004-07-13 Bernhard Herzog <[email protected]> |
670 |
|
|
671 |
|
* Thuban/UI/baserenderer.py |
672 |
|
(BaseRenderer.render_map_incrementally): Fix a logic bug in the |
673 |
|
optimization that tries not to draw layers under a raster layer. |
674 |
|
The bug was harmless. All it effectively did was to produce The a |
675 |
|
strange messages about not being able to draw Layer instances for |
676 |
|
all vector layers below a raster layer which would be invisible |
677 |
|
anyway because the raster layer currently always covers the entire |
678 |
|
window |
679 |
|
|
680 |
|
2004-07-08 Jan Sch�ngel <[email protected]> |
681 |
|
|
682 |
|
* Extensions/umn_mapserver/mapfile.py: Added code to generade and get |
683 |
|
a list of supported outputformats. This formats are not alle supported |
684 |
|
because there is no possibility to get the outputformat without the |
685 |
|
name known. Make some formal changes to the code. |
686 |
|
(MF_Map.set_name()): Fixed a bug if the name is None. |
687 |
|
|
688 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the image_type import |
689 |
|
statement, because its not needed anymore. The Outputformat is now |
690 |
|
given as string from the object. Make some formal changes to the code. |
691 |
|
|
692 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added new test for |
693 |
|
most of the new setting which were added during the last changes. |
694 |
|
Removed the MF_Size Test. |
695 |
|
|
696 |
|
* Extensions/umn_mapserver/test/test.map: Added a new class to the |
697 |
|
cultural Layer to test expressions and the the status of that layer |
698 |
|
from on to default. |
699 |
|
Changed the data path the the correct Thuban Data |
700 |
|
Added the Outputformat Object and Symbol Object |
701 |
|
|
702 |
|
2004-07-07 Jan Sch�ngel <[email protected]> |
703 |
|
|
704 |
|
* Extensions/umn_mapserver/mapfile.py: Added some new |
705 |
|
settings to edit (outputformat, label, imagetype) |
706 |
|
|
707 |
|
* Extensions/umn_mapserver/mf_handle.py: Added some setting to |
708 |
|
the Label Dialog and add the OutputDialog. |
709 |
|
Make some changes to the code order. |
710 |
|
|
711 |
|
2004-07-06 Jan Sch�ngel <[email protected]> |
712 |
|
|
713 |
|
* Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj |
714 |
|
and line Obj and add the scalebar_status_type, scalebar_style_type and |
715 |
|
scalebar_position_type. |
716 |
|
Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The |
717 |
|
are only used to create a Symbol like the circle in Thuban. |
718 |
|
Added the scalebarObject (MF_Scalebar) |
719 |
|
(MF_Class): Added set_status and get_status. |
720 |
|
(MF_Layer.add_thubanclass): Added code to set the class status |
721 |
|
(MF_Map): Added code to handle the symbols and scalebar |
722 |
|
(MF_Label): Added the set_partials and get_partials functions |
723 |
|
|
724 |
|
* Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import |
725 |
|
from mapfile. Added a function to create a circle object like the one |
726 |
|
from thuban if no one exists. |
727 |
|
|
728 |
|
* Extensions/umn_mapserver/mf_handle.py: All colors are now set when |
729 |
|
press ok in the assosiated dialog and not at the end of the |
730 |
|
colordialog. |
731 |
|
Added the Dialog for the Scalebar. |
732 |
|
(Label_Dialog): Added the offset option |
733 |
|
|
734 |
|
* Extensions/umn_mapserver/mf_import.py: Added code to import the |
735 |
|
status of the Classes. |
736 |
|
Fixed a bug with the projection. Now the to_meter parameter will be |
737 |
|
added to the Projection only if it doesn't exists. |
738 |
|
|
739 |
|
2004-07-01 Jan Sch�ngel <[email protected]> |
740 |
|
|
741 |
|
Added the functionality to handle the content thuban is not |
742 |
|
able to handle directly. |
743 |
|
|
744 |
|
* Extensions/umn_mapserver/mf_handle.py: New. This module extents |
745 |
|
Thuban with the possibility to edit the mapfile content. |
746 |
|
|
747 |
|
* Extensions/umn_mapserver/mf_import.py: Added the possibility |
748 |
|
to import mapfiles without any layer selected. So it is possible |
749 |
|
to edit the other settings in a mapfile. |
750 |
|
(import_mapfile): Added code to use the editing functions. |
751 |
|
Added the possibility to import the projection to a layer if one |
752 |
|
is defined. |
753 |
|
Status settings (On,Off) will now set in thuban (visible, invisible). |
754 |
|
fixed a bug with with classnames. If no classname is set in mapfile |
755 |
|
the value in Thuban will set to the expression. |
756 |
|
|
757 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the |
758 |
|
possibility to save a new mapfile or use the old one which is |
759 |
|
imported or new created. |
760 |
|
Added code to use the editing functions. |
761 |
|
Remove some not needed import statements |
762 |
|
|
763 |
|
* Extensions/umn_mapserver/mapfile.py: Added new types which are |
764 |
|
need for the editing functions. |
765 |
|
Added needed set-functions for the editing functions. |
766 |
|
Added the possibility to export rasterimages. |
767 |
|
Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol, |
768 |
|
MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the |
769 |
|
moment. |
770 |
|
(MF_Class.set_thubanstyle): Now point layers will set to a default |
771 |
|
symbol to show a circle in mapserver and not only a 1px dot. |
772 |
|
(MF_Style.__init__): Fixed a bug with the color. Color was not set |
773 |
|
correct before. |
774 |
|
(MF_Size): Removed, because it is not needed. |
775 |
|
|
776 |
|
* Extensions/umn_mapserver/README: Added the hints to use the |
777 |
|
export and editing functions, too. |
778 |
|
|
779 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the |
780 |
|
new parameter "UNITS METERS". |
781 |
|
Change the political layer to status OFF. |
782 |
|
|
783 |
|
* Extensions/umn_mapserver/sample/README: Added some |
784 |
|
more details to setup the sample in the MapServer. |
785 |
|
|
786 |
|
2004-06-26 Bernhard Reiter <[email protected]> |
787 |
|
|
788 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
789 |
|
Removed class VFile and used standard StringIO instead. |
790 |
|
|
791 |
|
2004-06-23 Jan Sch�ngel <[email protected]> |
792 |
|
|
793 |
|
Add the export function to the umn_mapserver extension. |
794 |
|
|
795 |
|
* Extension/umn_mapserver/mf_export.py: New. This module extents |
796 |
|
Thuban with the possibility to export the Thuban content. |
797 |
|
|
798 |
|
* Extensions/umn_mapserver/mapfile.py: Expand the classes to use |
799 |
|
with the export module. Especially added the possibility to |
800 |
|
add thuban objects directly to the map objects. |
801 |
|
|
802 |
|
* Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR, |
803 |
|
because of the hint from Bernhard Herzog. |
804 |
|
Corrected the handling of absolute pathnames. |
805 |
|
Changed the Text of the Menu-Item, now the beginning is upper case. |
806 |
|
|
807 |
|
* Extensions/umn_mapserver/README: Added the --with-tiff statement. |
808 |
|
|
809 |
2004-06-16 Jan Sch�ngel <[email protected]> |
2004-06-16 Jan Sch�ngel <[email protected]> |
810 |
|
|
811 |
Add a sample and make some changes. |
Add a sample and make some changes. |