[mapserver-users] RE RE runtime-substitution on GetFeatureInfo request

Andrea Peri aperi2007 at gmail.com
Tue Jan 22 11:54:05 PST 2013


Hi,

really many thx for help.

I don't notice the mandatory of validation block.

Now it work very well.

Regards,

Andrea Peri


2013/1/22 <Steve.Toutant at inspq.qc.ca>

>
> 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 <aperi2007 at gmail.com>@lists.osgeo.org*
> Envoyé par : mapserver-users-bounces at lists.osgeo.org
>
> 2013-01-22 13:05
>   A
> mapserver-users at lists.osgeo.org
> 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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130122/b8f027f9/attachment.html>


More information about the mapserver-users mailing list