[MAPSERVER-USERS] Pass parameters to mapfile
S.Reena
reena at indiamail.com
Fri Nov 7 02:07:42 PST 2008
I am using the following data in my mapfile
DATA "the_geom from ( select * from customised_point AS f where
user_id='userid' AND f.subcat_id IN (select subcat_id from subcat_info where
maincat_id =0))AS foo USING UNIQUE gid"
I want the userid ( used in the above query) to be passed to map file at the
time of layer creation something like this....
wms[5] = new OpenLayers.Layer.WMS.Untiled(
"Customization","http://gis.rtbi-iitm.in/cgi-bin/mapserv?map=/var/www/html/customisation/mapfile/customNR.map"
+ userid ,{'layers': "NR_point",'transparent':"true"},{'layers':
"NR_polygon",'transparent':"true"},{'isBaseLayer':false} );
How to do that?
Thanks in advance :)
Cheers,
Reena.
--
View this message in context: http://www.nabble.com/Pass-parameters-to-mapfile-tp20377760p20377760.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list