comparison src/java/de/intevation/mxd/reader/FeatureLayerReader.java @ 40:a1bc7220efe7

Updated the mxd reader.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 14 Apr 2011 11:25:57 +0200
parents 7a927921eb6c
children 395307e8b7ee
comparison
equal deleted inserted replaced
39:f807c9c81019 40:a1bc7220efe7
76 } 76 }
77 else { 77 else {
78 layerElement.setAttribute("status", "off"); 78 layerElement.setAttribute("status", "off");
79 } 79 }
80 80
81 int type = layer.getShapeType();
82 switch (type) {
83 case 0: layerElement.setAttribute("type", "none");
84 case 1: layerElement.setAttribute("type", "point");
85 }
86
81 layerElement.setAttribute("definition_query", 87 layerElement.setAttribute("definition_query",
82 layer.getDefinitionExpression()); 88 layer.getDefinitionExpression());
83 89
84 return layerElement; 90 return layerElement;
85 } 91 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)