On 9/21/2011 12:36 AM, jjwang wrote:
Is there any way to pass values to mapfile from the query string without
using mapscript.
What I want is:
In my mapfile, I defined some classes, the expression is comparing an
attribute with a value. But the value is not predefined. It's defined at the
client side. So I want to know is there any way to pass a value from client
side into the mapfile.
for example:
CLASS
  EXPRESSION ([Area]>  X)
END

I want this X to be a value comes from client side (JS-Openlayers).

Is this possible?

Yes!

http://mapserver.org/cgi/runsub.html
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to