comparison src/java/de/intevation/mxd/reader/FeatureLayerReader.java @ 106:609c234e8e23

merged with reimunds changes
author Stephan Holl <stephan.holl@intevation.de>
date Tue, 07 Jun 2011 15:50:43 +0200
parents 18e4f143896b
children bab3946a8bdc
comparison
equal deleted inserted replaced
105:db18c1b33936 106:609c234e8e23
77 int type = layer.getShapeType(); 77 int type = layer.getShapeType();
78 switch (type) { 78 switch (type) {
79 case 0: layerElement.setAttribute("type", "none"); break; 79 case 0: layerElement.setAttribute("type", "none"); break;
80 case 1: layerElement.setAttribute("type", "point"); break; 80 case 1: layerElement.setAttribute("type", "point"); break;
81 case 3: layerElement.setAttribute("type", "line"); break; 81 case 3: layerElement.setAttribute("type", "line"); break;
82 case 4: layerElement.setAttribute("type", "polygon"); break;
82 } 83 }
83 84
84 layerElement.setAttribute("definition_query", 85 layerElement.setAttribute("definition_query",
85 layer.getDefinitionExpression()); 86 layer.getDefinitionExpression());
86 IName fcn = layer.getDataSourceName(); 87 IName fcn = layer.getDataSourceName();
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)