From 5c0e9634ef20452c9fc66bb14a469e0a05369899 Mon Sep 17 00:00:00 2001
From: ?? ? <ulysseskao@ximple.com.tw>
Date: Fri, 16 May 2008 12:25:44 +0800
Subject: [PATCH] update for EOFM-90

---
 xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/GeneralDgnConvertJobContext.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/GeneralDgnConvertJobContext.java b/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/GeneralDgnConvertJobContext.java
index 73c7ac1..798c86e 100644
--- a/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/GeneralDgnConvertJobContext.java
+++ b/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/GeneralDgnConvertJobContext.java
@@ -273,6 +273,7 @@
             TextElement textElement = (TextElement) element;
             convertDecorator.setConverter(textElement);
             Geometry geom = convertDecorator.toGeometry(geometryFactory);
+            double angle = textElement.getRotationAngle();
             if (geom != null)
             {
                 return featureType.create(new Object[]{
@@ -282,7 +283,7 @@
                         textElement.getJustification(),
                         textElement.getTextHeight(),
                         textElement.getTextWidth(),
-                        textElement.getRotationAngle(),
+                        angle,
                         textElement.getText()
                 });
             } else

--
Gitblit v0.0.0-SNAPSHOT