[Mapserver-users] mode=map & FILTER
Eduardo Islas
eduardo_islas at hotmail.com
Thu Oct 2 20:46:53 PDT 2003
<html><div style='background-color:'><DIV></DIV>
<DIV>I have programmed my own application that works importing images to flash and VB applications using the CGI executable in mode=map. I want to use a label layer but filtering and showing only some labels. If I use FILTER & FILTERITEM in the mapfile I get no labels at all (never). I read that in order to use FILTER I need to specify other mode in the CGI Script but I want to keep the mode=map to get the image directly. This is my script:</DIV>
<DIV> </DIV>
<DIV>LAYER <BR> MAXSCALE 150<BR> NAME "texto"<BR> DATA texto<BR> STATUS DEFAULT<BR> TYPE POINT<BR> LABELITEM "Label"<BR> LABELANGLEITEM "Angle"<BR> FILTERITEM "Hierarchy"<BR> FILTER "Hierarchy >0"<BR> CLASS <BR> SIZE 6</DIV>
<DIV> COLOR 0 0 0<BR> LABEL<BR> TYPE TRUETYPE<BR> FONT "TAHOMA"<BR> ANTIALIAS TRUE<BR> OUTLINECOLOR 255 255 255<BR> COLOR 0 0 0<BR> POSITION UR<BR> MINSIZE 6<BR> FORCE true<BR> END<BR> END # end of class object</DIV>
<DIV>END # end of layer object</DIV></div><br clear=all><hr>MSN 8 with <a href="http://g.msn.com/8HMBEN/2740??PS=">e-mail virus protection service: </a> 2 months FREE*</html>
More information about the MapServer-users
mailing list