Hi to all, i'm working around to pass variables to cgi-mapserver, in particulary now i'm trying to pass one ID of one item in one layer, i'm trying with this string: http://myserveraddress/cgi-bin/mapserv?map=/path/to/my/file.map/file.map&mode=itemquery&qlayer=mylayeri&qitem=id&qstring=5740001 i recived this error message: prepare_database(): Query error. Error declaring cursor: ERROR: argument of AND must be type boolean, not type integer With query string: DECLARE mycursor BINARY CURSOR FOR SELECT "id"::text,asbinary(force_collection(force_2d(the_geom)),'NDR'),oid::text from mylayer WHERE (5740001) and (the_geom && setSRID( 'BOX3D(5 35,20 50)'::BOX3D,-1) ) Why i had it? How i can solve? Reguards Eugenio -- View this message in context: http://n2.nabble.com/cgi-variables-error-tp4787351p4787351.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
