1 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
2 |
|
|
3 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
4 |
|
the standard way. |
5 |
|
|
6 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
7 |
|
the function where it is needed, because it don't works if it stands |
8 |
|
at the beginning. |
9 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
10 |
|
numclasses from the mapscript will be used. |
11 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
12 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
13 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
14 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
15 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
16 |
|
with the mapscript object. |
17 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
18 |
|
the mapscript. |
19 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
20 |
|
linked to the layer in thuban, else the layerobject linked to the |
21 |
|
thubanlayer will be used. |
22 |
|
AnnotationLayer will now store the filename of the shapefile. |
23 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
24 |
|
must be set new. |
25 |
|
|
26 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
27 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
28 |
|
will be removed from the mapobj. |
29 |
|
Added comments to all functions. |
30 |
|
(thuban_to_map): No layer will be removed here. |
31 |
|
|
32 |
|
* Extensions/umn_mapserver/mf_handle.py |
33 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
34 |
|
Layersettings for the mapserver kann be edited. |
35 |
|
|
36 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
37 |
|
imported, will be linked with the associated MF_Layer. |
38 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
39 |
|
Disable the "import layer from mapfile" menu option. |
40 |
|
|
41 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
42 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
43 |
|
layer on permanently. |
44 |
|
|
45 |
2004-08-03 Jan Sch�ngel <[email protected]> |
2004-08-03 Jan Sch�ngel <[email protected]> |
46 |
|
|
47 |
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Added a function |
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
48 |
to remove all metadata. |
New. This function removes all metadata |
49 |
(MF_Layer): Added two functions to handle the group setting. |
(MF_Layer.set_group): New. Set the group setting. |
50 |
Removed the extra numlayers variable, used the mapscript parameter |
(MF_Layer.get_group): New. Get the group setting. |
51 |
instead. |
(MF_Map): Removed the extra numlayers variable, used the mapscript |
52 |
(MF_Map): Added a function to get the numlayers parameter. |
parameter instead. |
53 |
Added a funtion to remove all layers. |
(MF_Map.get_numlayers): New. This get numlayers. |
54 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
55 |
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
56 |
if the object is an instance. Also added the annotation layer here to |
if the object is an instance. Also added the annotation layer here to |
57 |
export, but only the layer is created in the mapfile. |
export, but only the layer is created in the mapfile. |
58 |
|
|
59 |
* Extensions/umn_mapserver/mf_export.py: Removed the check if a |
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
60 |
mapobj exist, because its not needed anymore. The export function is |
the check if a mapobj exist, because its not needed anymore. The |
61 |
only available if a mapobj exist. |
export function is only available if a mapobj exist. |
62 |
Added an extra function to remove all layers. |
Use the new function to remove all layers. |
63 |
|
|
64 |
* Extensions/umn_mapserver/mf_handle.py: Added a group option and the |
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
65 |
metadata button to the Layer dialog. |
option and the metadata button. The layer dialog is temporary disabled. |
66 |
The layer dialog is temporary disabled. |
(Metadata_CustomDataTable): Added some functions to show the grid |
|
(Metadata_CustomDataTable): Added some funktions to show the grid |
|
67 |
correct. |
correct. |
68 |
|
|
69 |
* Extensions/umn_mapserver/mf_import.py: Added a Class and a function |
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
70 |
to show the Annotation layer in thuban. The layer don't do anything. |
the number of layer from import_mapfile to this function. |
71 |
Its only to show the layer. Necessary to save the layer order. |
(AnnotationLayer): New. This Class shows the Annotation layer in |
72 |
Added a funtion to import only layers to thuban and not the other |
thuban. The layer don't do anything. It's only to show the layer |
73 |
settings like projection or scalebar. |
and to save the layer order. |
74 |
Moved the _has_umn_mapobj function and the create_new_mapfile |
(add_annotationlayer): New. Import an annotation layer to thuban. |
75 |
functions from mf_handle.py to mf_import.py. |
(select_layer2import): New. Import only layers to thuban and not |
76 |
(select_layer2import): Moved the code for showing the number of layer |
the other settings like projection or scalebar. |
77 |
from import_mapfile to this function. |
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
78 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
79 |
|
|
80 |
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
81 |
parameter to the roads and cultural layers. Also added a new |
parameter to the roads and cultural layers. Also added a new |