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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: [EMAIL PROTECTED]
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to