comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 261:efab4d62ad3c

Replace umlauts in layer title.
author raimund renkert <raimund.renkert@intevation.de>
date Tue, 16 Aug 2011 16:56:26 +0200
parents 8fe9ccc77962
children ad05f72ef9e4
comparison
equal deleted inserted replaced
260:10e0aa283217 261:efab4d62ad3c
275 } 275 }
276 group = cleangroup; 276 group = cleangroup;
277 } 277 }
278 String lname = layerElement.getAttribute("name"); 278 String lname = layerElement.getAttribute("name");
279 lname = msutils.removeSpecialChars(lname); 279 lname = msutils.removeSpecialChars(lname);
280 lname = msutils.replaceUmlauts(lname);
280 String ulname = group.replaceAll("/", ".") + "." + lname; 281 String ulname = group.replaceAll("/", ".") + "." + lname;
281 if(ulname.startsWith(".")) { 282 if(ulname.startsWith(".")) {
282 ulname = ulname.substring(1); 283 ulname = ulname.substring(1);
283 } 284 }
284 layer.setName(ulname); 285 layer.setName(ulname);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)