Your CLASS needs a name and then it should work ok.
Steve
On 11/13/2008 at 11:31 PM, in message 491d0d1f.2070...@gslab.com, Subha
Ramakrishnan su...@gslab.com wrote:
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
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users