changeset 261:efab4d62ad3c

Replace umlauts in layer title.
author raimund renkert <raimund.renkert@intevation.de>
date Tue, 16 Aug 2011 16:56:26 +0200
parents 10e0aa283217
children 2cb2f26d0d54
files ChangeLog src/java/de/intevation/mxd/writer/MapScriptWriter.java
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Aug 16 14:32:06 2011 +0200
+++ b/ChangeLog	Tue Aug 16 16:56:26 2011 +0200
@@ -1,3 +1,8 @@
+2011-08-16  Raimund Renkert  <raimund.renkert@intevation.de>
+
+	* src/java/de/intevation/mxd/writer/MapScript.java:
+	  Replace umlauts in layer title.
+
 2011-08-16  Raimund Renkert  <raimund.renkert@intevation.de>
 
 	Updated documentation and added ant task for javadoc generation.
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Tue Aug 16 14:32:06 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Tue Aug 16 16:56:26 2011 +0200
@@ -277,6 +277,7 @@
             }
 	    String lname = layerElement.getAttribute("name");
 	    lname = msutils.removeSpecialChars(lname);
+	    lname = msutils.replaceUmlauts(lname);
 	    String ulname = group.replaceAll("/", ".") + "." + lname;
 	    if(ulname.startsWith(".")) {
 	        ulname = ulname.substring(1);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)