<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">hello, <br>
<br>
I'm a GIS veteran, but newbie to MapServer. I'm working with Mapserver
version 3.6.5.<br>
I'm working on a MAPFILE to display roads and area polygons, with ID#
labels in the area polygons.<br>
At full zoom, the labels for the polygons dominate the map, and I'd
like to have them turn on only when they will not "clutter" the map
unnecessarily.<br>
<br>
In reading the docs, I think I have found the exact answer to my
problem - MINFEATURESIZE auto.<br>
(if I have understood correctly, setting this param to 'auto' will
cause the labels to be displayed only if their owning polygon is larger
than than the label itself)<br>
<br>
Unfortunately, I have seen no effect from setting this param as of yet.<br>
Could someone give me some guidance as to how to properly set/use this
param?<br>
<br>
thanks,<br>
john<br>
<br>
<br>
LAYER<br>
NAME "REPORTINGAREAS"<br>
TYPE POLYGON<br>
STATUS DEFAULT<br>
TRANSPARENCY 40<br>
DATA "$self->{GROUP_ATTR}->{RA_DATA}"<br>
LABELITEM "$self->{GROUP_ATTR}->{RA_LABELITEM}"<br>
CLASSITEM "$self->{GROUP_ATTR}->{RA_CLASSITEM}"<br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif">
CLASS<br>
NAME 'Reporting Areas'<br>
TEMPLATE "dummy"<br>
color 240 255 220<br>
outlinecolor 0 0 0<br>
LABEL<br>
MINDISTANCE 10<br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif">
MINFEATURESIZE AUTO</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">
MINSIZE 8<br>
MAXSIZE 10<br>
PARTIALS TRUE<br>
POSITION AUTO<br>
FONT "ARIAL"<br>
TYPE TRUETYPE<br>
COLOR 0 0 0<br>
OUTLINECOLOR 0 0 0<br>
BUFFER 4<br>
END<br>
END<br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif">END<br>
<br>
<br>
<br>
<br>
</font></font><br>
</body>
</html>