comparison src/java/de/intevation/mxd/reader/FeatureLayerReader.java @ 62:e468cf8701ea

Prepared the converter to handle and write line symbols.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 May 2011 14:16:25 +0200
parents 4e0464c620f0
children 7eba97e8201b
comparison
equal deleted inserted replaced
61:e00deee347a5 62:e468cf8701ea
85 layerElement.setAttribute("status", "off"); 85 layerElement.setAttribute("status", "off");
86 } 86 }
87 87
88 int type = layer.getShapeType(); 88 int type = layer.getShapeType();
89 switch (type) { 89 switch (type) {
90 case 0: layerElement.setAttribute("type", "none"); 90 case 0: layerElement.setAttribute("type", "none"); break;
91 case 1: layerElement.setAttribute("type", "point"); 91 case 1: layerElement.setAttribute("type", "point"); break;
92 case 3: layerElement.setAttribute("type", "line"); break;
92 } 93 }
93 94
94 layerElement.setAttribute("definition_query", 95 layerElement.setAttribute("definition_query",
95 layer.getDefinitionExpression()); 96 layer.getDefinitionExpression());
96 IName fcn = layer.getDataSourceName(); 97 IName fcn = layer.getDataSourceName();
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)