Mercurial > mxd2map
diff 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 |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java Thu Jun 30 13:48:09 2011 +0200 +++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java Thu Jun 30 14:31:01 2011 +0200 @@ -169,9 +169,9 @@ double minScale = 0; try { maxScale = + Double.parseDouble(layerElement.getAttribute("min_scale")); + minScale = Double.parseDouble(layerElement.getAttribute("max_scale")); - minScale = - Double.parseDouble(layerElement.getAttribute("min_scale")); } catch(NumberFormatException nfe) { logger.warn("Error setting scale.");