[Mapserver-users] using data from the submittd form within ma pserver.

Lowther, David W dlowther at ou.edu
Tue Apr 22 09:17:35 EDT 2003


Sreekanth,

Make a field in your previous form called "map_VILLAGE_class_expression" and
set its value to "([LOC_CODE] = whatever )".

For more info on passing variable in from the previous form see:

http://mapserver.gis.umn.edu/doc/cgi-reference.html

Hope that helps,

Dave Lowther

> -----Original Message-----
> From: Sreekanth S Rameshaiah [mailto:sree at mahiti.org] 
> Sent: Tuesday, April 22, 2003 1:27 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] using data from the submittd form 
> within mapserver.
> 
> 
> Dear all,
> I have setup Mapserver 3.6 on my linux box. I have been able 
> to generate required maps by customizing the map file. 
> However now in want to replace the hard coded values in the 
> map file with values choosen from the previous form 
> submission. How do I achieve this.
> 
> I have a a value called VILLAGECode from the previous page 
> submission. i want to use it in place of 54 in the below code.
> 
> Please help.
> Regards,
>  - sree
> 
> # CLASSITEM "CLASS"
>   CLASS # States class
>   NAME "VILLAGE"
>     EXPRESSION ([LOC_CODE] = 54 ) ###  This needs to be 
> replaced by form element VILLAGECode value
>     COLOR 240 0 240
>     OUTLINECOLOR 50 55 0
>   END # end of States class object
> 
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
> 



More information about the mapserver-users mailing list