SLD Filter Using Default Mapfile Rendering

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Thu Dec 2 10:37:08 PST 2004


In a nutshell, in OGC:WMS you can't get to Filter without SLD itself.

What you could do is, if the data you're fetching is available as
OGC:WFS, is use MapServer as a WFS client and apply the filter at the
mapfile (or dynamically generated) level and assume the same rendering
as per mapfile.

There's most certainly a few more ways to make this happen; the above is
using OGC approaches.

..Tom


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of John Fletcher
Sent: Thursday, 02 December, 2004 13:30
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] SLD Filter Using Default Mapfile
Rendering


Is there some way to filter the features drawn by Mapserver without
having to send rendering information in the SLD?  Most times that I want
to filter features, the default rendering as set up in the mapfile is
sufficient, yet I am having to duplicate that rendering information
inside my SLD to get the features to show.  I would like to just send a
Filter without any Symbolizer - it's the most tedious for layers with
many different scale or attribute dependent styles.  I can't see
anything in the SLD spec about this, though it's a weighty document and
I may have missed it...

Thanks in advance,

John



More information about the MapServer-users mailing list