Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/CartoLineSymbolReader.java @ 97:18e4f143896b
Added polygon writer.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 06 Jun 2011 17:24:43 +0200 |
parents | 59e06c405a9a |
children | fb93f20478cc |
comparison
equal
deleted
inserted
replaced
96:c285ed08b72c | 97:18e4f143896b |
---|---|
66 throws Exception { | 66 throws Exception { |
67 logger.debug("read()"); | 67 logger.debug("read()"); |
68 Element symbolElement = util.addSymbol(parent); | 68 Element symbolElement = util.addSymbol(parent); |
69 | 69 |
70 symbolElement.setAttribute("name", symbol.getNameString()); | 70 symbolElement.setAttribute("name", symbol.getNameString()); |
71 symbolElement.setAttribute("style", "line"); | 71 symbolElement.setAttribute("type", "line"); |
72 symbolElement.setAttribute("style", "carto"); | |
72 if(symbol.getColor() instanceof IRgbColor) { | 73 if(symbol.getColor() instanceof IRgbColor) { |
73 IRgbColor color = (IRgbColor)symbol.getColor(); | 74 IRgbColor color = (IRgbColor)symbol.getColor(); |
74 Color c = new Color ( | 75 Color c = new Color ( |
75 color.getRed(), | 76 color.getRed(), |
76 color.getGreen(), | 77 color.getGreen(), |