1 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Another open issue regarding sizeable symbols: correct rendering of |
4 |
|
selected symbols. |
5 |
|
|
6 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
7 |
|
Added consideration of the specific size of point symbols. |
8 |
|
The property for each point symbol is retrieved and the size applied |
9 |
|
for the rendering method. |
10 |
|
Added doc-string. |
11 |
|
|
12 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
13 |
|
|
14 |
|
Changed way of Extension Registry for gns2shp and profiling. |
15 |
|
|
16 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
17 |
|
__init__.py). |
18 |
|
|
19 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
20 |
|
of the actual gns2shp module. |
21 |
|
|
22 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
23 |
|
__init__.py). |
24 |
|
|
25 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
26 |
|
of the actual profiling module. |
27 |
|
|
28 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
29 |
|
|
30 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
31 |
|
|
32 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
33 |
|
|
34 |
|
Further elements for sizable point objects now |
35 |
|
making this feature usable though not yet complete. |
36 |
|
|
37 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
38 |
|
attribute 'size' for cldata when the shape layer is of point type. |
39 |
|
This also now make the test_load.py tests happy. |
40 |
|
|
41 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
42 |
|
gradient. |
43 |
|
|
44 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
45 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
46 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
47 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
48 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
49 |
|
for the size in case the corresponding layer is of point type. |
50 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
51 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
52 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
53 |
|
and refresh preview. |
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
2004-10-04 Martin Schulze <[email protected]> |
58 |
|
|
59 |
|
* Extensions/wms/test/test_parser.py |
60 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
61 |
|
self-test for compareLists() |
62 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
63 |
|
self-test for compareDicts() |
64 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
65 |
|
to verify the test routine fails with non-equal arguments |
66 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
67 |
|
to verify the test routine fails with non-equal arguments |
68 |
|
|
69 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
70 |
|
|
71 |
|
First elements for sizeable point objects. |
72 |
|
|
73 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
74 |
|
|
75 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
76 |
|
|
77 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
78 |
|
of a corresponding argument is given. |
79 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
80 |
|
|
81 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
82 |
|
(ClassGroupProperties.__init__): Set default size. |
83 |
|
(ClassGroupProperties.SetProperties): Set the size. |
84 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
85 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
86 |
|
(ClassGroupProperties__eq__): Compare also size. |
87 |
|
(ClassGroupProperties__repr__): Print also size. |
88 |
|
|
89 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
90 |
|
the size attribute. |
91 |
|
|
92 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
93 |
|
Also, now there is a return value that indicates whether the drawing |
94 |
|
size exceeded the given rect extent and if so the new extent. |
95 |
|
Finally, point objects are drawn depending on the size. If either |
96 |
|
the width or height is exceeded, the new extent is returned. |
97 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
98 |
|
evaluate the return value and, if not None, adapt the grid widget size |
99 |
|
accordingly and redraw again. |
100 |
|
|
101 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
102 |
|
If the draw function is for points, call it with the size as additional |
103 |
|
parameter. |
104 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
105 |
|
the size. Compute the radius using the size. |
106 |
|
|
107 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
108 |
|
that Thuban supports size, apply this correctly. |
109 |
|
|
110 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
111 |
|
|
112 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
113 |
|
|
114 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
115 |
|
Map chapter. |
116 |
|
|
117 |
|
2004-10-01 Martin Schulze <[email protected]> |
118 |
|
|
119 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
120 |
|
argument for general use through properties-dialog selector |
121 |
|
|
122 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
123 |
|
both provided layer classes/types. |
124 |
|
|
125 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
126 |
|
map can be retrieved through the parent which is passed to the |
127 |
|
constructor anyway and doesn't require an argument of its own, |
128 |
|
required for the unification of arguments for general use through |
129 |
|
properties-dialog selector. |
130 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
131 |
|
whether a dialog is already opened (and raising it to the users |
132 |
|
attention) and creating a new dialog into a function of its own |
133 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
134 |
|
method |
135 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
136 |
|
global registration of properties dialog classes (which are indeed |
137 |
|
layer-specific). |
138 |
|
|
139 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
140 |
|
for general use through properties-dialog selector, the map can be |
141 |
|
retrieved through the parent and doesn't require an argument of |
142 |
|
its own. |
143 |
|
|
144 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
145 |
|
the provided WMS layer |
146 |
|
|
147 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
148 |
|
|
149 |
|
New feature: Registry for Extensions. |
150 |
|
|
151 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
152 |
|
Extensions. |
153 |
|
|
154 |
|
* Thuban/UI/about.py (About.__init__): Added description |
155 |
|
of the registered extensions with all of the information. |
156 |
|
|
157 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
158 |
|
|
159 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
160 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
161 |
|
Extensions/wms/wms.py: Added registration of the extension. |
162 |
|
|
163 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
164 |
|
|
165 |
|
More fixes to svgexport to make used ids unique and |
166 |
|
conforming to XML's Name production. |
167 |
|
|
168 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
169 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
170 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
171 |
|
Added Bernhard R. as author. |
172 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
173 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
174 |
|
Also transform second id part with "%d" and catch the TypeError |
175 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
176 |
|
Corrected typo inBernhard's author line. |
177 |
|
(SetBaseID): Return the transformed base id. Transform characters |
178 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
179 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
180 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
181 |
|
for used_baseids checks. |
182 |
|
|
183 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
184 |
|
|
185 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
186 |
|
Remove a debug print and some tab characters. |
187 |
|
|
188 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
189 |
|
|
190 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
191 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
192 |
|
the interaction of the three functions and the XML id contrains. |
193 |
|
|
194 |
|
|
195 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
196 |
|
|
197 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
198 |
|
Module. |
199 |
|
|
200 |
|
* Doc/README: Added info on ThubanModel.xmi. |
201 |
|
|
202 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
203 |
|
|
204 |
|
* Doc/README: New. Some info about how to generate technical |
205 |
|
documentation from the source code. |
206 |
|
This text was send to the Thuban developer mailing list on |
207 |
|
September 21st 2004 by Bernhard Reiter. |
208 |
|
|
209 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
210 |
|
|
211 |
|
Improved the svgexport to only use unique ids. Will issues |
212 |
|
an error message dialoge when two layer names are the same. |
213 |
|
ShapeIDs are now added with a dash within the svg ids. |
214 |
|
|
215 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
216 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
217 |
|
(TestSVGRenderer): New test class with test_make_in() and |
218 |
|
test_check_for_layer_name_clash() |
219 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
220 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
221 |
|
satisfying test_check_for_layer_name_clash() |
222 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
223 |
|
test_make_in(). |
224 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
225 |
|
and wxICON_HAND. |
226 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
227 |
|
catching SVGmapWriterError notify the user and delete the target file. |
228 |
|
|
229 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
230 |
|
|
231 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
232 |
|
|
233 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
234 |
|
|
235 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
236 |
|
small bug with the line color. Now the line color will now only set |
237 |
|
if it is set in Thuban an not Transparent. |
238 |
|
|
239 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
240 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
241 |
|
from the last. |
242 |
|
|
243 |
|
2004-08-20 Silke Reimer <[email protected]> |
244 |
|
|
245 |
|
* Thuban/Model/layer.py: |
246 |
|
Fixes bug in projection handling: Otherwise very large region might not |
247 |
|
have valid values in the layer's projection. |
248 |
|
|
249 |
|
2004-08-20 Silke Reimer <[email protected]> |
250 |
|
|
251 |
|
* Thuban/UI/about.py: |
252 |
|
small changes to be consistent with coding style. |
253 |
|
|
254 |
|
2004-08-13 Martin Schulze <[email protected]> |
255 |
|
|
256 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
257 |
|
Adjusted a comment |
258 |
|
|
259 |
|
2004-08-11 Silke Reimer <[email protected]> |
260 |
|
|
261 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
262 |
|
too many and too enhanced imports of locale |
263 |
|
|
264 |
|
2004-08-10 Silke Reimer <[email protected]> |
265 |
|
|
266 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
267 |
|
function unicodeToLocale() to convert special characters to users |
268 |
|
locale encoding |
269 |
|
|
270 |
|
2004-08-10 Jan-Oliver Wagner <[email protected]> |
271 |
|
|
272 |
|
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
273 |
|
lower case letter' |
274 |
|
|
275 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
276 |
|
|
277 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
278 |
|
the standard way. |
279 |
|
|
280 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
281 |
|
the function where it is needed, because it don't works if it stands |
282 |
|
at the beginning. |
283 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
284 |
|
numclasses from the mapscript will be used. |
285 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
286 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
287 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
288 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
289 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
290 |
|
with the mapscript object. |
291 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
292 |
|
the mapscript. |
293 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
294 |
|
linked to the layer in thuban, else the layerobject linked to the |
295 |
|
thubanlayer will be used. |
296 |
|
AnnotationLayer will now store the filename of the shapefile. |
297 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
298 |
|
must be set new. |
299 |
|
|
300 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
301 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
302 |
|
will be removed from the mapobj. |
303 |
|
Added comments to all functions. |
304 |
|
(thuban_to_map): No layer will be removed here. |
305 |
|
|
306 |
|
* Extensions/umn_mapserver/mf_handle.py |
307 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
308 |
|
Layersettings for the mapserver kann be edited. |
309 |
|
|
310 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
311 |
|
imported, will be linked with the associated MF_Layer. |
312 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
313 |
|
Disable the "import layer from mapfile" menu option. |
314 |
|
|
315 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
316 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
317 |
|
layer on permanently. |
318 |
|
|
319 |
|
2004-08-03 Jan Sch�ngel <[email protected]> |
320 |
|
|
321 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
322 |
|
New. This function removes all metadata |
323 |
|
(MF_Layer.set_group): New. Set the group setting. |
324 |
|
(MF_Layer.get_group): New. Get the group setting. |
325 |
|
(MF_Map): Removed the extra numlayers variable, used the mapscript |
326 |
|
parameter instead. |
327 |
|
(MF_Map.get_numlayers): New. This get numlayers. |
328 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
329 |
|
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
330 |
|
if the object is an instance. Also added the annotation layer here to |
331 |
|
export, but only the layer is created in the mapfile. |
332 |
|
|
333 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
334 |
|
the check if a mapobj exist, because its not needed anymore. The |
335 |
|
export function is only available if a mapobj exist. |
336 |
|
Use the new function to remove all layers. |
337 |
|
|
338 |
|
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
339 |
|
option and the metadata button. The layer dialog is temporary disabled. |
340 |
|
(Metadata_CustomDataTable): Added some functions to show the grid |
341 |
|
correct. |
342 |
|
|
343 |
|
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
344 |
|
the number of layer from import_mapfile to this function. |
345 |
|
(AnnotationLayer): New. This Class shows the Annotation layer in |
346 |
|
thuban. The layer don't do anything. It's only to show the layer |
347 |
|
and to save the layer order. |
348 |
|
(add_annotationlayer): New. Import an annotation layer to thuban. |
349 |
|
(select_layer2import): New. Import only layers to thuban and not |
350 |
|
the other settings like projection or scalebar. |
351 |
|
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
352 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
353 |
|
|
354 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
355 |
|
parameter to the roads and cultural layers. Also added a new |
356 |
|
Annotation Layer for the cultural points. |
357 |
|
|
358 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added the select |
359 |
|
option for the annotation layer. |
360 |
|
|
361 |
|
* Extensions/umn_mapserver/sample/index.html: Added the start |
362 |
|
parameter for the annotation layer. |
363 |
|
|
364 |
|
2004-08-01 Jan-Oliver Wagner <[email protected]> |
365 |
|
|
366 |
|
* Doc/manual/thuban-manual-de.xml (Chapter Session Management): |
367 |
|
translation completed. |
368 |
|
|
369 |
|
* Doc/manual/thuban-manual.xml (Chapter Session Management): |
370 |
|
Fixed unprecise description for Save Session. |
371 |
|
|
372 |
|
2004-07-31 Jan-Oliver Wagner <[email protected]> |
373 |
|
|
374 |
|
Started translation of Users Manual into german. |
375 |
|
|
376 |
|
* Doc/manual/thuban-manual-de.xml: New. German Users Manual. |
377 |
|
|
378 |
|
* Doc/manual/Makefile: Added build instructions for german |
379 |
|
users manual. |
380 |
|
|
381 |
|
* Doc/manual/thuban-manual.xml: Minor corrections in Introduction. |
382 |
|
|
383 |
|
2004-07-28 Jan Sch�ngel <[email protected]> |
384 |
|
|
385 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class |
386 |
|
functions. Now all metadata will handle by the function and its not |
387 |
|
needed to initialize it from outside. Therefor the associated mapobj |
388 |
|
will be stored in the Metadata Object. So we can use the special |
389 |
|
functions from the associated mapobj to get the Metadata. |
390 |
|
Therefor all initialization code for the metadata is removed from the |
391 |
|
other classes. |
392 |
|
(MF_Layer): Added a function to get the metadata object. |
393 |
|
(MF_Map): Added a function to set the mappath, the path where |
394 |
|
the mapfile ist stored. |
395 |
|
|
396 |
|
* Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code |
397 |
|
to set the extent in the mapfile. Now the code is set by the displayed |
398 |
|
data in the Thuban-view. |
399 |
|
(export_mapfile): The shapepath is now set empty, until relative |
400 |
|
pathnames are supported. |
401 |
|
|
402 |
|
* Extension/umn_mapserver/mf_handle.py: Added a dialog to handle |
403 |
|
metadata. Yet only mapfile metadata are supported. Layer and class |
404 |
|
supported are not implemented. |
405 |
|
Added a dialog to handle layer informations. The dialog only shows the |
406 |
|
selected layer at the moment. |
407 |
|
|
408 |
|
* Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the |
409 |
|
code for setting the extent in thuban. Now the extent is set to the |
410 |
|
given extent from the mapfile. |
411 |
|
Fixed a logical mistake. Now the extent is set when realy a layer is |
412 |
|
loaded, and not if one is selected to load. |
413 |
|
|
414 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and |
415 |
|
move the shown map in the browser. |
416 |
|
|
417 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added a new metadata |
418 |
|
line to the mapobj and added metadata to the political layer. |
419 |
|
|
420 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Changed the test |
421 |
|
for Metadata. |
422 |
|
|
423 |
|
2004-07-26 Martin Schulze <[email protected]> |
424 |
|
|
425 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
426 |
|
ClassMapper |
427 |
|
|
428 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
429 |
|
case for the new ClassMapper |
430 |
|
|
431 |
|
|
432 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
433 |
|
|
434 |
|
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
435 |
|
visible extent of the map in projected coordinates |
436 |
|
|
437 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size) |
438 |
|
(SimpleViewPortTest.test_init_with_size): Add some VisibleExtent() |
439 |
|
tests. |
440 |
|
(SimpleViewPortTest.test_visible_extent): New. The real test for |
441 |
|
VisibleExtent() |
442 |
|
|
443 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
444 |
|
|
445 |
|
* test/test_viewport.py: Use support.run_tests as the main |
446 |
|
function when running asa script. |
447 |
|
|
448 |
|
2004-07-22 Jan Sch�ngel <[email protected]> |
449 |
|
|
450 |
|
* Extensions/umn_mapserver/mf_export.py: Added "import os" |
451 |
|
Removed the old "import Thuban.UI.mainwindow" code. |
452 |
|
(tbextent_to_map): Removed the extra function and at the code direct |
453 |
|
to "thuban_to_map" function. |
454 |
|
(write_creatorcomment): Added. Now a short comment is added to the |
455 |
|
beginning of an generated mapfile. |
456 |
|
(export_mapfile): Now the Path and filename are saved in to variables, |
457 |
|
and not together in one variable. This is needed for the new |
458 |
|
write_creatorcomment function. |
459 |
|
|
460 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the |
461 |
|
import module "re". Also added Range and the ClassGroupRange import |
462 |
|
from Thuban. Both are needed for the new range expression import. |
463 |
|
(create_rangeexpression): Added. Creates a Range Expression in Thuban |
464 |
|
style from a given mapfile expression. |
465 |
|
(added_rasterlayer): Make some small code changes. The shapepath is |
466 |
|
now stored in an extra variable and the clazz_name is set empty if no |
467 |
|
class name set in the mapfile. |
468 |
|
Changed the Error message for Range Expressions, becaus the new |
469 |
|
function create a error string which will be shown in the dialog. |
470 |
|
|
471 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
472 |
|
range expression import. |
473 |
|
|
474 |
|
2004-07-21 Jan-Oliver Wagner <[email protected]> |
475 |
|
|
476 |
|
* Extensions/umn_mapserver/README: Added hint that |
477 |
|
installation as root can be avoided. Removed all tabs. |
478 |
|
|
479 |
|
2004-07-16 Bernhard Herzog <[email protected]> |
480 |
|
|
481 |
|
* test/test_viewport.py |
482 |
|
(ViewPortTest.test_changing_map_projection): Check that changing |
483 |
|
the projection of an empty map shown in a viewport doesn't lead to |
484 |
|
exceptions in the viewport's handler for the |
485 |
|
MAP_PROJECTION_CHANGED messages |
486 |
|
|
487 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only |
488 |
|
try to keep the same region visible when the map actually contains |
489 |
|
something |
490 |
|
|
491 |
|
2004-07-15 Jan Sch�ngel <[email protected]> |
492 |
|
|
493 |
|
* Extensions/umn_mapserver/mapfile.py: Added a function to get the |
494 |
|
mappath directly from the mapobj. Is needed because of the changes |
495 |
|
in mf_import.py. |
496 |
|
(MF_Layer.add_thubanclass): Added a new comment. |
497 |
|
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the |
498 |
|
mapobj is empty there is no extent get from thuban an so no one can |
499 |
|
set to th mapobj. |
500 |
|
|
501 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated |
502 |
|
the discription. |
503 |
|
Split the funktion in to three smaller ones. The new functions are |
504 |
|
add_rasterlayer, add_polygonlayer and select_layer2import. |
505 |
|
Removed the mapfilepath and filepath initialisation, because its know |
506 |
|
include in the new functions. |
507 |
|
Now nothing will be imported if cancel is pressed in the |
508 |
|
layer choice dialog. |
509 |
|
|
510 |
2004-07-14 Jan Sch�ngel <[email protected]> |
2004-07-14 Jan Sch�ngel <[email protected]> |
511 |
|
|
512 |
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |