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

Reply via email to