comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 109:dca5f208500f

Merged with raimunds changes
author Stephan Holl <stephan.holl@intevation.de>
date Tue, 14 Jun 2011 12:37:03 +0200
parents 3ca2ec55fb3b
children 11d63bf00326
comparison
equal deleted inserted replaced
108:3c58c07cee6b 109:dca5f208500f
174 layer.setType(MS_LAYER_TYPE.MS_LAYER_LINE); 174 layer.setType(MS_LAYER_TYPE.MS_LAYER_LINE);
175 } 175 }
176 else if (type.equals("polygon")) { 176 else if (type.equals("polygon")) {
177 layer.setType(MS_LAYER_TYPE.MS_LAYER_POLYGON); 177 layer.setType(MS_LAYER_TYPE.MS_LAYER_POLYGON);
178 } 178 }
179 layer.setTileitem("");
179 180
180 //The layer datasource. 181 //The layer datasource.
181 String datasource = ""; 182 String datasource = "";
182 if(layerElement.hasAttribute("workspace")) { 183 if(layerElement.hasAttribute("workspace")) {
183 datasource = layerElement.getAttribute("workspace"); 184 datasource = layerElement.getAttribute("workspace");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)