http://mapserver.org/cgi/runsub.html#validation Because runtime substitution affects potentially sensitive areas of your mapfile such as database columns and filenames, it is mandatory that you use pattern validation (since version 6.0)
Whatever you are trying to do it won't work until you have a validation block Andrea Peri <[email protected]>@lists.osgeo.org Envoyé par : [email protected] 2013-01-22 13:05 A [email protected] cc Objet [mapserver-users] RE runtime-substitution on GetFeatureInfo request Hi, thx for response. No I not define any validation block. I'm try to test if it work before to apply a validation block. I try to apply a FILTER like this: FILTER "VOLO_N = 3 and (FILESTAMPE like '%IDTPN%' )" the goal is to obtain that on a GetFeatureInfo request where the response without the filter will return three or four objects, and identifiables with id001,id002,id003 and id004, passing a parameter like ..&idtpn=id001 it will return only one object. also I try to apply a default value like this: METADATA 'default_idtpn' '%' to avoid that when I do noone idtpm parameter it will return an empty recordset. Thx Andrea. >What kind of trouble exactly? >Do you have a Validation block in your layer definition? > > >Andrea Peri <aperi2007 at gmail.com>@lists.osgeo.org >>Envoyé par : mapserver-users-bounces at lists.osgeo.org >>2013-01-21 19:26 -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
