jschuengel: thuban ChangeLog,1.679,1.680
cvs@intevation.de
cvs at intevation.de
Mon Aug 9 13:42:55 CEST 2004
Author: jschuengel
Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv13404
Modified Files:
ChangeLog
Log Message:
updated ChangeLog
Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.679
retrieving revision 1.680
diff -u -d -r1.679 -r1.680
--- ChangeLog 3 Aug 2004 12:00:47 -0000 1.679
+++ ChangeLog 9 Aug 2004 11:42:52 -0000 1.680
@@ -1,36 +1,81 @@
+2004-08-09 Jan Schüngel <jschuengel at intevation.de>
+
+ * ChangeLog: Rewrite the last ChangeLog entry to follow
+ the standard way.
+
+ * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
+ the function where it is needed, because it don't works if it stands
+ at the beginning.
+ (MF_Layer.__init__): Removed the extra numclassed variable. Now
+ numclasses from the mapscript will be used.
+ (MF_Layer.get_index): New. Return the index of the layer in mapfile.
+ (MF_Layer.set_classes): New. A Classlist will be set to the layer.
+ (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
+ (MF_Layer.remove_allclasses): New. All class of the layer will remove.
+ (MF_Map.create_new_layer): New. A new Layer is created and associated
+ with the mapscript object.
+ (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
+ the mapscript.
+ (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
+ linked to the layer in thuban, else the layerobject linked to the
+ thubanlayer will be used.
+ AnnotationLayer will now store the filename of the shapefile.
+ (MF_Map.remove_layer): If a layer is removed the associated object
+ must be set new.
+
+ * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
+ layers which are exists in thuban to the mapobj. All removed Layers
+ will be removed from the mapobj.
+ Added comments to all functions.
+ (thuban_to_map): No layer will be removed here.
+
+ * Extensions/umn_mapserver/mf_handle.py
+ (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
+ Layersettings for the mapserver kann be edited.
+
+ * Extensions/umn_mapserver/mf_import.py: Now all layers which are
+ imported, will be linked with the associated MF_Layer.
+ (import_mapfile): All layers, which are not selected, will be removed.
+ Disable the "import layer from mapfile" menu option.
+
+ * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
+ Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
+ layer on permanently.
+
2004-08-03 Jan Schüngel <jschuengel at intevation.de>
- * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Added a function
- to remove all metadata.
- (MF_Layer): Added two functions to handle the group setting.
- Removed the extra numlayers variable, used the mapscript parameter
- instead.
- (MF_Map): Added a function to get the numlayers parameter.
- Added a funtion to remove all layers.
+ * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
+ New. This function removes all metadata
+ (MF_Layer.set_group): New. Set the group setting.
+ (MF_Layer.get_group): New. Get the group setting.
+ (MF_Map): Removed the extra numlayers variable, used the mapscript
+ parameter instead.
+ (MF_Map.get_numlayers): New. This get numlayers.
+ (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
(MF_Map.add_thubanlayer): Replaced the exception handling by a check
if the object is an instance. Also added the annotation layer here to
export, but only the layer is created in the mapfile.
- * Extensions/umn_mapserver/mf_export.py: Removed the check if a
- mapobj exist, because its not needed anymore. The export function is
- only available if a mapobj exist.
- Added an extra function to remove all layers.
+ * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
+ the check if a mapobj exist, because its not needed anymore. The
+ export function is only available if a mapobj exist.
+ Use the new function to remove all layers.
- * Extensions/umn_mapserver/mf_handle.py: Added a group option and the
- metadata button to the Layer dialog.
- The layer dialog is temporary disabled.
- (Metadata_CustomDataTable): Added some funktions to show the grid
+ * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
+ option and the metadata button. The layer dialog is temporary disabled.
+ (Metadata_CustomDataTable): Added some functions to show the grid
correct.
- * Extensions/umn_mapserver/mf_import.py: Added a Class and a function
- to show the Annotation layer in thuban. The layer don't do anything.
- Its only to show the layer. Necessary to save the layer order.
- Added a funtion to import only layers to thuban and not the other
- settings like projection or scalebar.
- Moved the _has_umn_mapobj function and the create_new_mapfile
- functions from mf_handle.py to mf_import.py.
- (select_layer2import): Moved the code for showing the number of layer
- from import_mapfile to this function.
+ * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
+ the number of layer from import_mapfile to this function.
+ (AnnotationLayer): New. This Class shows the Annotation layer in
+ thuban. The layer don't do anything. It's only to show the layer
+ and to save the layer order.
+ (add_annotationlayer): New. Import an annotation layer to thuban.
+ (select_layer2import): New. Import only layers to thuban and not
+ the other settings like projection or scalebar.
+ (create_new_mapfile): Moved the _has_umn_mapobj function and the
+ create_new_mapfile functions from mf_handle.py to mf_import.py.
* Extensions/umn_mapserver/sample/iceland.map: Added the group
parameter to the roads and cultural layers. Also added a new
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)