[mapserver-users] need help with query
Wendell Turner
wendell at enflight.com
Wed Jun 24 19:01:34 PDT 2009
I can't seem to get queries to work. I'm trying to query
mapserver from Openlayers. I started with a query function
posted by Arnd Wippermann here:
http://openlayers.org/pipermail/users/2008-November/008942.html
It sends a query like this:
http://myserver.com/cgi-bin/mapserv?
map=/home/mydir/ms/mymap.map&
mode=nquery&
layers=layer1+layer2+layer3&
map_projection=init=EPSG:3395&
mapext=-8782565.0796543+4678491.6689236+-8551269.8497526+4909786.8988253&
imgext=-8782565.0796543+4678491.6689236+-8551269.8497526+4909786.8988253&
map_size=1000+1000&
imgxy=1000+1000&
imgbox=0+0+1000+1000
I've guessed at lots of the parameters, but always get:
msQueryByRect(): Search returned no results. No matching record(s) found.
Is there something wrong with the query? Does there need to
be a qlayers parameter? I tried that and it had no effect.
(Is it qlayer or qlayers?) The mapserver docs don't mention
a map_projection cgi parameter.
Thanks,
Wendell
MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT SUPPORTS=GEOS
INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
More information about the MapServer-users
mailing list