[Mapserver-users] Filtering with SLD again...

Jeremy Wiebe Jwiebe at linnet.ca
Wed Jul 28 15:07:29 PDT 2004


Thanks to Assefa Yewondwossen and Tom Kralidis for the help so far... I have
the SLD filtering working now.

Now I come to a second question.  When there are many features to filter on
the SLD bloats up quite fast.  Does mapserver support the following filter
syntax?  (from the SLD spec).   I have tried it and it and all it did was
style all points on the filtered layer with the symbolizer that I specified
for the filter.

<Filter>
  <FeatureId fid="TREESA_1M.1234" />
  <FeatureId fid="TREESA_1M.5678" />
</Filter>

I tried using the ogrinfo.exe to filter by fid to ensure that I had the
mapfile and ovf file setup correctly and I was able to display a single
feature successfully.  (ogrinfo.exe -ro -al -fid 100080
D:\SpatialData\Properties\Properties.ovf)

Jeremy Wiebe
Application Developer
Linnet - The Land Systems Company 
1600-444 St. Mary Avenue,  Winnipeg, Manitoba, Canada, R3C 3T1
Tel: 1-204-957-6452  Fax: 1-204-957-7568  email: jwiebe at linnet.ca
http://www.linnet.ca 




More information about the MapServer-users mailing list