comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 153:7ed49420ee5a

Changed min scale and max scale in writer.
author vc11884admin@VC11884.win.bsh.de
date Thu, 30 Jun 2011 14:31:01 +0200
parents 8a87c796bf47
children d7c8493cb345
comparison
equal deleted inserted replaced
152:8a87c796bf47 153:7ed49420ee5a
167 //The scale. 167 //The scale.
168 double maxScale = 0; 168 double maxScale = 0;
169 double minScale = 0; 169 double minScale = 0;
170 try { 170 try {
171 maxScale = 171 maxScale =
172 Double.parseDouble(layerElement.getAttribute("min_scale"));
173 minScale =
172 Double.parseDouble(layerElement.getAttribute("max_scale")); 174 Double.parseDouble(layerElement.getAttribute("max_scale"));
173 minScale =
174 Double.parseDouble(layerElement.getAttribute("min_scale"));
175 } 175 }
176 catch(NumberFormatException nfe) { 176 catch(NumberFormatException nfe) {
177 logger.warn("Error setting scale."); 177 logger.warn("Error setting scale.");
178 maxScale = 0; 178 maxScale = 0;
179 minScale = 0; 179 minScale = 0;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)