Mercurial > mxd2map
comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 142:f98d2759e494
Merged with Stephans commits.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 27 Jun 2011 16:23:51 +0200 |
parents | 8f30f7e802d6 |
children | b2c5a66022f1 |
comparison
equal
deleted
inserted
replaced
140:0ebaec057f15 | 142:f98d2759e494 |
---|---|
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); |