[MAPSERVER-USERS] runtime variable substitution

Hans Castorp hanscastorp76 at yahoo.es
Wed Jun 11 04:03:21 EDT 2008


Thanks for your reply,

Well, this is my problem. I am using ka-map so, I think, I am not able to use a URL like the one you show. I was thinking about making the substitution using mapscript, but I haven't found any example...

Thankis in advance.



-----Mensaje original-----
De: Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca] 
Enviado el: martes, 10 de junio de 2008 20:45
Para: Hans Castorp
CC: mapserver-users at lists.osgeo.org
Asunto: Re: [MAPSERVER-USERS] runtime variable substitution
 
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
----------------------------------------------------------------
 
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.2.0/1495 - Release
Date: 10/06/2008 17:11


      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080611/07d0d395/attachment-0001.html


More information about the mapserver-users mailing list