Mercurial > mxd2map
diff src/java/de/intevation/mxd/writer/FillStyleWriter.java @ 131:cd18c61cbcf6
Do not write lines or outlines if their width is smaller than 1.0.
author | vc11884admin@VC11884.win.bsh.de |
---|---|
date | Mon, 20 Jun 2011 17:41:55 +0200 |
parents | 3c792458a716 |
children | b2c5a66022f1 |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/FillStyleWriter.java Mon Jun 20 16:01:17 2011 +0200 +++ b/src/java/de/intevation/mxd/writer/FillStyleWriter.java Mon Jun 20 17:41:55 2011 +0200 @@ -120,7 +120,12 @@ logger.debug("writeOutline()"); //write transparent outline colorObj color = new colorObj(-1, -1, -1, -4); - + if(symbolElement.hasAttribute("width")) { + double w = Double.parseDouble(symbolElement.getAttribute("width")); + if (w < 1.0) { + return; + } + } //write new style for the outline //TODO write further attribute like pattern etc. Color oCol = Color.decode(