comparison src/java/de/intevation/mxd/reader/FeatureLayerReader.java @ 97:18e4f143896b

Added polygon writer.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 06 Jun 2011 17:24:43 +0200
parents 59e06c405a9a
children bab3946a8bdc
comparison
equal deleted inserted replaced
96:c285ed08b72c 97:18e4f143896b
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)