[mapserver-commits] r11303 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Mar 22 15:33:11 EDT 2011
Author: assefa
Date: 2011-03-22 12:33:11 -0700 (Tue, 22 Mar 2011)
New Revision: 11303
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/maprendering.c
Log:
KML: fix rounding problem for point feautres (#3767)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-03-22 18:41:23 UTC (rev 11302)
+++ trunk/mapserver/HISTORY.TXT 2011-03-22 19:33:11 UTC (rev 11303)
@@ -15,6 +15,8 @@
Current Version (SVN trunk):
----------------------------
+- KML: fix rounding problem for point feautres (#3767)
+
- KML: update code to reflect output changes. Fix true type symbols. (#3766)
- SLD: Text Symbolizer now uses the new expression syntax (#3757)
Modified: trunk/mapserver/maprendering.c
===================================================================
--- trunk/mapserver/maprendering.c 2011-03-22 18:41:23 UTC (rev 11302)
+++ trunk/mapserver/maprendering.c 2011-03-22 19:33:11 UTC (rev 11303)
@@ -739,7 +739,7 @@
if(computeLabelStyle(&s,label,fontset,scalefactor) == MS_FAILURE) {
return MS_FAILURE;
}
- if(s.rotation == 0) {
+ if(s.rotation == 0 && !MS_RENDERER_KML(image->format)) {
x = MS_NINT(labelPnt.x);
y = MS_NINT(labelPnt.y);
} else {
More information about the mapserver-commits
mailing list