comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 141:8f30f7e802d6

Manage symbol names and symbol comparison.
author vc11884admin@VC11884.win.bsh.de
date Mon, 27 Jun 2011 16:07:13 +0200
parents cd55975ba0c4
children b2c5a66022f1
comparison
equal deleted inserted replaced
137:cd55975ba0c4 141:8f30f7e802d6
263 if(classElement.hasAttribute("field_count")) { 263 if(classElement.hasAttribute("field_count")) {
264 co.setExpression(createExpression(classElement)); 264 co.setExpression(createExpression(classElement));
265 } 265 }
266 //Write symbols and styles. 266 //Write symbols and styles.
267 NodeList l = classElement.getChildNodes(); 267 NodeList l = classElement.getChildNodes();
268 for (int j = 0; j < l.getLength(); j++) { 268 for (int j = l.getLength() - 1; j >= 0; j--) {
269 Element elem = (Element)l.item(j); 269 Element elem = (Element)l.item(j);
270 270
271 String type = layerElement.getAttribute("type"); 271 String type = layerElement.getAttribute("type");
272 if(type.equals("point") && elem.getTagName().equals("symbol")) { 272 if(type.equals("point") && elem.getTagName().equals("symbol")) {
273 MarkerStyleWriter swriter = new MarkerStyleWriter (this.map, co); 273 MarkerStyleWriter swriter = new MarkerStyleWriter (this.map, co);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)