[mapserver-commits] r9447 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Oct 13 10:47:53 EDT 2009
Author: aboudreault
Date: 2009-10-13 10:47:49 -0400 (Tue, 13 Oct 2009)
New Revision: 9447
Modified:
trunk/mapserver/mapdraw.c
Log:
Fixed minfeaturesize to be resolution-dependant, not scale-dependant
Modified: trunk/mapserver/mapdraw.c
===================================================================
--- trunk/mapserver/mapdraw.c 2009-10-13 13:53:26 UTC (rev 9446)
+++ trunk/mapserver/mapdraw.c 2009-10-13 14:47:49 UTC (rev 9447)
@@ -1498,7 +1498,7 @@
cliprect.miny = map->extent.miny - csz*map->cellsize;
cliprect.maxx = map->extent.maxx + csz*map->cellsize;
cliprect.maxy = map->extent.maxy + csz*map->cellsize;
- minfeaturesize = layer->class[c]->label.minfeaturesize*layer->scalefactor;
+ minfeaturesize = layer->class[c]->label.minfeaturesize*image->resolutionfactor;
if(msBindLayerToShape(layer, shape, querymapMode) != MS_SUCCESS)
return MS_FAILURE; /* error message is set in msBindLayerToShape() */
More information about the mapserver-commits
mailing list