Mercurial > mxd2map
comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 253:cedb23deb057
Replace all german umlauts in group names.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 15 Aug 2011 13:36:31 +0200 |
parents | eae3fe89e669 |
children | 1ac277053049 |
comparison
equal
deleted
inserted
replaced
252:eae3fe89e669 | 253:cedb23deb057 |
---|---|
240 group = layerElement.getAttribute("group"); | 240 group = layerElement.getAttribute("group"); |
241 String[] splitted = group.split("/"); | 241 String[] splitted = group.split("/"); |
242 String cleangroup = ""; | 242 String cleangroup = ""; |
243 for(int j = 0; j < splitted.length; j++) { | 243 for(int j = 0; j < splitted.length; j++) { |
244 if(!splitted[j].equals("")) { | 244 if(!splitted[j].equals("")) { |
245 splitted[j] = validateString(splitted[j]); | |
245 cleangroup += "/" + validateLayerName(splitted[j]); | 246 cleangroup += "/" + validateLayerName(splitted[j]); |
246 } | 247 } |
247 } | 248 } |
248 group = cleangroup; | 249 group = cleangroup; |
249 } | 250 } |