[mapserver-users] cgi variables error

frippe12573 frippe12573 at hotmail.com
Tue Mar 23 17:34:09 EDT 2010


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.


More information about the mapserver-users mailing list