Filter Shapefile

Hallgren Johan E jhhal at WMDATA.COM
Fri Apr 20 03:53:56 EDT 2007


Hello

 

I was trying to use LAYER/FILTER to show a subset of a shapefile.  

 

  LAYER

    NAME TATYT

    TYPE POLYGON

    STATUS ON

    DATA vv/TATYT

    TEMPLATE "c:\temp\template.txt"

    MAXSCALE 1000000

    FILTER "BEF > 1000000"

    CLASS

      NAME TatYt

      STYLE

        OUTLINECOLOR 0 0 0

        COLOR 210 210 210

      END

    END

  END

 

But nothing happened. All features are shown and when retrieving
features, all features are retrieved. 

 

Did I misunderstand the purpose of FILTER?

 

/Johan


___________________________________


Johan Hallgren


 

WM-data a LogicaCMG company 

Pelle Bergs backe 3

Box 1938, 791 19 Falun

Tel: 023-547 46 (int: +46-2354746)

Mobil: 070-588 44 28 (int: +46-705884428)

johan.e.hallgren at wmdata.com
<BLOCKED::mailto:johan.e.hallgren at wmdata.com> 

http://www.wmdata.se
<BLOCKED::/exchweb/bin/redir.asp?URL=http://www.wmdata.se/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20070420/a2271a84/attachment.html


More information about the mapserver-dev mailing list