<p>Hello, I'm trying to scale label in a layer and I can't get it. the.<br> <br>I`m using MapServer version 4.6.1, as PHP MapScript module.<br> <br>.Map code is as follows:<br> <br>MAP<br> NAME "PruebaMap"<br> STATUS ON
<br> EXTENT 5000000 5430000 5800000 6350000 <br> SIZE 800 520 <br> SHAPEPATH "./"<br> SYMBOLSET "../symbols/symbols.sym"<br> FONTSET "../fonts/fonts2.txt" <br> IMAGETYPE PNG<br> IMAGECOLOR 255 255 255
<br> UNITS METERS<br> REFERENCE<br> STATUS ON<br> IMAGE "../reference/reference2.png"<br> SIZE 150 150 <br> EXTENT 5000000 5430000 5800000 6350000 <br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0
<br> MINBOXSIZE 5<br> MAXBOXSIZE 0<br> MARKERSIZE 0<br> END<br> SCALEBAR<br> STATUS EMBED<br> COLOR 255 255 255<br> OUTLINECOLOR 0 0 0<br> BACKGROUNDCOLOR 0 0 0 <br> TRANSPARENT ON<br> UNITS KILOMETERS
<br> INTERVALS 5<br> SIZE 300 5 <br> STYLE 0<br> POSITION LC<br> POSTLABELCACHE TRUE<br> LABEL<br> SIZE SMALL<br> OFFSET 0 0 <br> COLOR 255 0 0 <br> ANTIALIAS TRUE<br> PARTIALS TRUE
<br> FORCE TRUE<br> END<br> END<br> OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "GD/PNG"<br> EXTENSION "png" <br> IMAGEMODE RGB<br> TRANSPARENT OFF
<br> END</p>
<p> LAYER<br> NAME "Partidos"<br> STATUS ON<br> DATA "new_geom FROM (select OID,* from partidos) as foo using unique OID using srid=-1"<br> TYPE POLYGON<br> CONNECTIONTYPE POSTGIS<br> CONNECTION "user=XXX password=XXX dbname=XXX host=XXX port=5432"
<br> LABELMAXSCALE 1500000<br> LABELMINSCALE 50000<br> POSTLABELCACHE TRUE<br> LABELITEM "nombre"<br> CLASS<br> NAME "Partido"<br> LABEL<br> TYPE TRUETYPE<br> FONT "arial_black"
<br> OUTLINECOLOR 255 255 255<br> MINSIZE 5<br> MAXSIZE 30<br> MINFEATURESIZE AUTO <br> ANTIALIAS TRUE<br> END<br> STYLE<br> COLOR 235 230 217<br> OUTLINECOLOR 0 0 0
<br> ANTIALIAS TRUE<br> END<br> END<br> END</p>
<p>END</p>
<p> <br></p>