Mercurial > mxd2map
changeset 294:8079b2acca67
Add RotationElement attribute that saves which element
should be used for angle calculation
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 03 Sep 2012 17:20:48 +0200 |
parents | c2747cec2814 |
children | 08723e89b56b |
files | src/java/de/intevation/mxd/reader/SimpleRendererReader.java |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleRendererReader.java Mon Sep 03 17:20:11 2012 +0200 +++ b/src/java/de/intevation/mxd/reader/SimpleRendererReader.java Mon Sep 03 17:20:48 2012 +0200 @@ -116,6 +116,15 @@ } try { + rendererElement.setAttribute("rotationField", renderer.getRotationField()); + logger.debug("Rotation is: " + renderer.getRotationField()); + } + catch(IOException ioe) { + logger.warn("Could not read rorationField."); + } + + + try { symbol = renderer.getSymbol(); MarkerSymbolReader markerReader = new MarkerSymbolReader();