[MAPSERVER-USERS] runtime variable substitution
Yewondwossen Assefa
yassefa at dmsolutions.ca
Tue Jun 10 11:44:49 PDT 2008
Hi There,
There are a couple of examples at the end of
http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub/
You should be able in your case to use a URL like
....&id=value_of_the_id . Have you tried this and It did not work?
Hope it helps.
Y.A.
Hans Castorp wrote:
> Hi to all,
>
> Any of you have an example about how to do a parameter substitution???
>
> What I want is to change the FILTER statement in one of my mapfile
> layers, but I don't know how to do it.
>
> This is my layer's data and filter definition:
>
> DATA "the_geom FROM temp"
> FILTER "id_session=%id%"
>
> What I want is to change the id valuedepending on some circunstances in
> my application.
>
> Thanks in advance.
>
>
>
>
> Hans Castorp
>
> ------------------------------------------------------------------------
>
> Enviado desde Correo Yahoo!
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html>
> La bandeja de entrada más inteligente.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list