[MXD2map-commits] r261:efab4d62ad3c

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 16 16:57:55 CEST 2011


details:   http://hg.intevation.org/geospatial/mxd2map/rev/efab4d62ad3c

changeset: 261:efab4d62ad3c

user:      raimund renkert <raimund.renkert at intevation.de>

date:      Tue Aug 16 16:56:26 2011 +0200

description:
Replace umlauts in layer title.


diffstat:

 ChangeLog                                              |  5 +++++
 src/java/de/intevation/mxd/writer/MapScriptWriter.java |  1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 10e0aa283217 -r efab4d62ad3c ChangeLog
--- 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 at intevation.de>
+
+	* src/java/de/intevation/mxd/writer/MapScript.java:
+	  Replace umlauts in layer title.
+
 2011-08-16  Raimund Renkert  <raimund.renkert at intevation.de>
 
 	Updated documentation and added ant task for javadoc generation.
diff -r 10e0aa283217 -r efab4d62ad3c src/java/de/intevation/mxd/writer/MapScriptWriter.java
--- 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);


More information about the MXD2map-commits mailing list