Mercurial > mxd2map
changeset 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 |
files | ChangeLog src/java/de/intevation/mxd/writer/MapScriptWriter.java |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Aug 09 17:27:18 2011 +0200 +++ b/ChangeLog Tue Aug 09 17:42:31 2011 +0200 @@ -1,3 +1,8 @@ +2011-08-09 Raimund Renkert <raimund.renkert@intevation.de> + + * src/java/de/intevation/mxd/writer/MapScriptWriter.java: + Set the group attribute to the correct wms metadata. + 2011-08-09 Raimund Renkert <raimund.renkert@intevation.de> * src/java/de/intevation/mxd/reader/MXDReader.java:
--- 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");