[mapserver-users] Conditional SQL fragment via CGI . .

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Wed Oct 1 14:47:22 PDT 2014


Oh, geez, just found my own answer . . .

http://mapserver.org/cgi/runsub.html#default-values-if-not-provided-in-the-url

dopey me . . .

bobb



From: Basques, Bob (CI-StPaul)
Sent: Wednesday, October 01, 2014 4:44 PM
To: mapserver-users at lists.osgeo.org
Subject: Conditional SQL fragment via CGI . .

I know,  probably not possible, but,

I want to change a fragment of a SQL request inside of a DATA block via MapServer CGI, using some conditions, namely if a null value is passed in, I want to ignore that null value.  Is there any way of setting a default CGI value inside of the mapfile so if a value isn't sent in, it defaults to something automatically?

Thanks

Bobb


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141001/4df830cf/attachment.htm>


More information about the MapServer-users mailing list