[mapserver-users] Legend for a layer with filter
Subha Ramakrishnan
subha at gslab.com
Thu Nov 13 21:31:11 PST 2008
Hi,
I want to know if it is possible to generate a legend for a layer with a
filter.
I am getting a blank response with a mode=legend for this layer.
I tried passing the parameter that i am using in the filter, in the
request but didn't work either.
This is the layer in the mapfile:
layer
name filterlayer
connectiontype postgis
connection "user= username dbname=db password=passwd host=localhost"
group world
type polygon
status on
class
style
width 3
color 170 153 175
outlinecolor 000 000 000
end
end
filter 'id IN (%pid%)'
data "topology from dbtable"
transparency 65
end
Thank you.
Regards,
Subha
More information about the MapServer-users
mailing list