[mapserver-commits] r11513 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sun Apr 10 05:50:28 EDT 2011
Author: tbonfort
Date: 2011-04-10 02:50:28 -0700 (Sun, 10 Apr 2011)
New Revision: 11513
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapgeomtransform.c
Log:
fix GEOMTRANSFORM rotation orientation for vector symbols (#3802)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-04-09 08:46:51 UTC (rev 11512)
+++ trunk/mapserver/HISTORY.TXT 2011-04-10 09:50:28 UTC (rev 11513)
@@ -15,6 +15,8 @@
Current Version (SVN trunk):
----------------------------
+- fix GEOMTRANSFORM rotation orientation for vector symbols (#3802)
+
- GD Driver broken in FastCGI (#3813)
- configure: look for libexslt.so under lib64 as well
Modified: trunk/mapserver/mapgeomtransform.c
===================================================================
--- trunk/mapserver/mapgeomtransform.c 2011-04-09 08:46:51 UTC (rev 11512)
+++ trunk/mapserver/mapgeomtransform.c 2011-04-10 09:50:28 UTC (rev 11513)
@@ -103,8 +103,6 @@
continue;
if(style->autoangle==MS_TRUE && line->numpoints>1) {
style->angle = calcOrientation(&(line->point[line->numpoints-2]),p);
- if(symbolset->symbol[style->symbol]->type==MS_SYMBOL_VECTOR)
- style->angle = - style->angle;
}
msDrawMarkerSymbol(symbolset,image,p,style,scalefactor);
}
@@ -118,8 +116,6 @@
continue;
if(style->autoangle==MS_TRUE && line->numpoints>1) {
style->angle = calcOrientation(p,&(line->point[1]));
- if(symbolset->symbol[style->symbol]->type==MS_SYMBOL_VECTOR)
- style->angle = - style->angle;
}
msDrawMarkerSymbol(symbolset,image,p,style,scalefactor);
}
@@ -134,8 +130,6 @@
continue;
if(style->autoangle==MS_TRUE) {
style->angle = calcMidAngle(&(line->point[i-1]),&(line->point[i]),&(line->point[i+1]));
- if(symbolset->symbol[style->symbol]->type==MS_SYMBOL_VECTOR)
- style->angle = - style->angle;
}
msDrawMarkerSymbol(symbolset,image,p,style,scalefactor);
}
More information about the mapserver-commits
mailing list