[Mapserver-users] Problems with 3.7 and itemquery
William Taylor
wdavet2 at bellsouth.net
Wed Jun 4 17:57:35 PDT 2003
Group,
I am having problems getting itemquery function to work with MapServ
3.7.
My Url looks like this:
http://localhost/Scripts/mapservdemo.exe?map=C:\Inetpub\wwwroot\MapServI
temTest\test.map&mode=itemquerymap&qlayer=county&mapext=shapes&qitem=cty
_name&qstring=PB
And My Map File looks like this:
MAP
NAME test
STATUS ON
SIZE 600 450
EXTENT 14215.43 19342.38 18468.59 16607.16
UNITS FEET
SHAPEPATH "test"
IMAGECOLOR 255 255 255
PROJECTION
"init=epsg:26958"
END
WEB
IMAGEPATH "set in config.js"
IMAGEURL "set in config.js"
END
QUERYMAP
STATUS ON
STYLE HILITE
COLOR 255 255 0
END
LAYER
NAME county
DATA county
STATUS DEFAULT
TYPE POLYGON
CLASS
COLOR 212 212 212
OUTLINECOLOR 0 0 0
END
END
END
I get the error below:
msQueryByAttributes(): Search returned no results. No matching record(s)
found, layer and area of interest do not overlap.
The attribute table does contain the value.
Any help you can offer would be greatly appreciated.
Sincerely,
W. David Taylor
More information about the MapServer-users
mailing list