diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 245:2eeeae07aaa2

Set the group attribute to the correct wms metadata.
author raimund renkert <raimund.renkert@intevation.de>
date Tue, 09 Aug 2011 17:42:31 +0200
parents 276f63c86f1c
children 87e92debc53f
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Tue Aug 09 17:27:18 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Tue Aug 09 17:42:31 2011 +0200
@@ -239,11 +239,9 @@
             layer.setName(ulname);
             layer.setUnits(units.swigValue());
 	    if(!group.equals("")) {
-                layer.setMetaData("wms_title", group + "/" + lname);
+                layer.setMetaData("wms_layer_group", group);
 	    }
-	    else {
-	    	layer.setMetaData("wms_title", lname);
-	    }
+            layer.setMetaData("wms_title", ulname);
 
             //The layer status.
             String stat = layerElement.getAttribute("status");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)