[mapserver-users] RE Dynamically extent and layer filter
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Fri May 30 08:42:08 PDT 2014
In your mapfile you could set FILTER "id in (%ID%)" .
And in the url pass a string as parameter such as &id=1,4,8
That would be a simple way
Please post further question on mapserver list, so others can answer you,
and the answers can help other people later
thanks
steve
Dedy Fuadi <sampahe.fb3 at gmail.com>
2014-05-30 11:28
A
Steve.Toutant at inspq.qc.ca
cc
Objet
Re: RE [mapserver-users] Dynamically extent and layer filter
Hi Steve,
Your advice is nicely work for me! :D
But how to select more than one data from postgis by VALIDATION block? For
example, I have a postgis table that have 20 data, then I wanto to select
data 1,4,8, or else to display by customizing URL parameter. I set '%id%'
as my variable at mapfile, I just can display one data like &id=1.
Please for your help.
Thank you.
On Fri, May 30, 2014 at 8:30 PM, <Steve.Toutant at inspq.qc.ca> wrote:
Hi
What did you try and what happened? Something in the mapserver log.
If I understand well you want to use run time substitution, if so here a
link
http://mapserver.org/cgi/runsub.html
Make sure you have a VALIDATION block
Steve
Dedy Fuadi <sampahe.fb3 at gmail.com>@lists.osgeo.org
Envoyé par : mapserver-users-bounces at lists.osgeo.org
2014-05-30 06:52
A
mapserver-users at lists.osgeo.org
cc
Objet
[mapserver-users] Dynamically extent and layer filter
Hello friends,
I just success applying filter data for postgis database on my mapfile,
but I met problem when I was to try use dynamic variable for filter data
and extent map like variable at php file.
What should I do for solving this problem? Whether mapfile can be a
dynamically file like php?
Thank you,
regards._______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140530/07b9f8ab/attachment.htm>
More information about the MapServer-users
mailing list