[Mapserver-users] FW: Itemquery

David.Beard at ga.gov.au David.Beard at ga.gov.au
Sun Feb 1 15:42:44 PST 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3E91D.170BBA16
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Werner,=20
Does the error message you're receiving say "No matching records found, =
layer
and area of interest do not overlap"? If it does, then check the extents =
of
your query layer (country) against the extents in your map object. Does =
your
query layer fall within the map file extents? When I received the =
following
error message: msQueryByAttributes(): Search returned no results. No =
matching
record(s) found, layer and area of interest do not overlap, the cause of =
the
error for me was incorrect map extents in the map file object.
Do you have separate query and display layers in your map file? If you =
don't
(but rather have a single query and display layer), then maybe you need
separate layers. The example below has a separate display layer because =
the
query layer doesn't actually display anything, it's used simply to =
define the
map extents. This is because there are times when the mapping =
application
needs to display all polygons in the display layer, without any query
process. Also, in this particular case the query dataset is actually a
different dataset to that used for display, due to the nature of the =
data. If
you have only one layer, which doubles as the query and display layer, =
you
may receive a "No matching records found" if you try to display all =
features
without sending any query information, since MapServer will perform the =
query
without any query information, and so return no results. However, I =
don't
think this is your problem, as you are sending query information.=20
> For an example of an online GIS that successfully uses itemquery, have =
a
> look at the following URL:=20
> http://www.ozestuaries.org/gis=20
> Type "derwent" into the Search by estuary name box, hit GO and then =
hit the
> ZOOM link. This ZOOM uses itemquery, within a URL similar to:=20
> =
http://www.ozestuaries.org/bin/mapserv40?&map=3D/public/http/www/docs//or=
acle
> =
/ozestuaries/gis/estuary.map&mode=3Ditemquery&mapext=3Dshapes&qlayer=3Dge=
ohabquer
> =
y&qitem=3Destno&qstring=3D579&layer=3Dgeohab&layer=3Dentrances&mapsize=3D=
395+315")=20
>=20
> The qlayer info in the map file looks like this:
>=20
> #####
> LAYER
>   NAME geohabquery
>   DATA shape/geohabext
>   TYPE query
>   STATUS ON
>   CLASS
>   END
>   TEMPLATE frames.html
>   METADATA
>     numclasses "nolegend"
>   END
> END
> #####
> The associated display layer looks like this:
> #####
> LAYER
>   NAME geohab
>   DATA shape/geohab
>   TYPE POLYGON
>   STATUS ON
>   MAXSCALE 2000000
>   LABELITEM "Gh_symb"
>   LABELMAXSCALE 100000
>   CLASSITEM "Gh_symb"
>   METADATA
> 	leglabel "Geomorphic habitats"
>     numclasses "many"
>     legorder "20"
>   END
>   CLASS
>     EXPRESSION "BBB"
>     NAME "Barrier/back-barrier"
>     LABEL
>       POSITION uc
>       TYPE TRUETYPE
>       FONT times
>       SIZE 8
>       COLOR 0 0 0
> 	  OUTLINECOLOR 255 255 255
>     END
>     COLOR 205 205 205
>   END
>   CLASS
>     EXPRESSION "CB"
>     NAME "Central Basin"
>     LABEL
>       POSITION uc
>       TYPE TRUETYPE
>       FONT times
>       SIZE 8
>       COLOR 0 0 0
> 	  OUTLINECOLOR 255 255 255
>     END
>     COLOR 0 195 255
>   END
>=20
>   ... other classes ...
>=20
>   CLASS
>     EXPRESSION "X"
>     NAME "Unassigned"
>     LABEL
>       POSITION uc
>       TYPE TRUETYPE
>       FONT times
>       SIZE 8
>       COLOR 0 0 0
> 	  OUTLINECOLOR 255 255 255
>     END
>     COLOR 130 130 130
>   END
>   TOLERANCE 5
>   TEMPLATE query/geohab.html
> END
> #####
> And relevant parts of the map object look like this (this is not the =
entire
> contents of the map object):
> #####
> NAME estuary.map
> EXTENT -3100000 -5600000 3000000 -1000000
> TEMPLATEPATTERN ".*"
>=20
> #####
>=20
> I hope this helps.
> Dave=20
-----Original Message-----
From: Werner du Plessis [mailto:werner at spatialdimension.co.za]=20
Sent: Friday, 30 January 2004 6:37 PM
To: Beard David
Subject: RE: [Mapserver-users] FW: Itemquery

Hi David,

Is this working for you. I have tried every possible combination without =
any
luck.=20

The following URL:
http://mscpt-sd10/cgi-bin/mapserv.exe?map=3Dmap.map&mode=3Ditemnquery&qla=
yer=3Dcoun
try&qitem=3Dcntry_name&qstring=3DNAMIBIA

Returns:
msQueryByAttributes(): Search returned no results. No matching record(s)
found.=20

I have seen postings Re: the extent being wrong in the mapfile. Any =
ideas
from your side.=20

Kind Regards
Werner du Plessis

-----Original Message-----
From: David.Beard at ga.gov.au [mailto:David.Beard at ga.gov.au]
Sent: Friday, January 30, 2004 12:20 AM
To: Werner du Plessis; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] FW: Itemquery


Werner,=20

Try this: =
...mode=3Ditemnquery&qlayer=3Dcountry&qitem=3Dcntry_name&qstring=3DNAMIBI=
A

Dave


-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Werner du
Plessis
Sent: Thursday, 29 January 2004 5:41 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] FW: Itemquery



Hi,=20

I am experiencing a problem with (Itemquery, Itemnquery). Regardless of
syntax I get the message "No Matching Records found".=20

Mapserver	: 	4.0
OS		:	Windows 2000 Professional
	=09
My URL string follows:
...mode=3Ditemnquery&qlayer=3Dcountry&qstring=3D('[CNTRY_NAME]'+EQ+'NAMIB=
IA')

I have tried all sorts of combinations including upper/lower case field
names, but it doesnt seem to make any difference.

Any help in this regard would be much appreciated.=20

Kind Regards
Werner=20



------_=_NextPart_001_01C3E91D.170BBA16
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6249.1">
<TITLE>RE: [Mapserver-users] FW: Itemquery</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">Werner,</FONT><FONT =
COLOR=3D"#000000" FACE=3D"Times New Roman"></FONT>=20

<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">Does the error =
message you're receiving say "<I>No matching records found, layer =
and area of interest do not overlap</I>"? If it does, then</FONT> =
<FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">check the extents of =
your query layer (country) against the extents in your map object. Does =
your query layer fall within the map file extents? When I received =
the</FONT> <FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">following =
error message:</FONT><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial"></FONT><I></I><I> <FONT COLOR=3D"#000000" SIZE=3D2 =
FACE=3D"Arial">msQueryByAttributes(): Search returned no results. No =
matching record(s) found, layer and area of interest do not =
overlap</FONT></I><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">, the =
cause of the error for me was incorrect map extents in the map =
file</FONT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial"> =
object.</FONT></P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">Do you have separate =
query and display layers in your map file? If you don't (but rather have =
a single query and display layer), then maybe you need separate layers. =
The example below has a separate display layer because the query layer =
doesn't actually display anything, it's used simply to define the map =
extents. This is because there are times when the mapping application =
needs to display all polygons in the display layer, without any query =
process. Also, in this particular case the query dataset is actually a =
different dataset to that used for display, due to the nature of the =
data. If you have only one layer, which doubles as the query and display =
layer, you may receive a "No matching records found" if you =
try to display all features without sending any query information, since =
MapServer will perform the query without any query information, and so =
return no results. However, I don't think this is your problem, as you =
are sending query information. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">For an example of an online GIS that =
successfully uses itemquery, have a look at the following URL:<BR>
</FONT><A HREF=3D"http://www.ozestuaries.org/gis"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://www.ozestuaries.org/gis</FONT></U></A><FONT =
FACE=3D"Times New Roman"> </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Type "derwent" into =
the</FONT><I> <FONT SIZE=3D2 FACE=3D"Arial">Search by estuary =
name</FONT></I><FONT SIZE=3D2 FACE=3D"Arial"> box, hit GO and then hit =
the ZOOM link. This ZOOM uses itemquery, within a URL similar =
to:</FONT><FONT FACE=3D"Times New Roman"> </FONT></P>

<P><A =
HREF=3D"http://www.ozestuaries.org/bin/mapserv40?&map=3D/public/http/=
www/docs//oracle/ozestuaries/gis/estuary.map&mode=3Ditemquery&map=
ext=3Dshapes&qlayer=3Dgeohabquery&qitem=3Destno&qstring=3D579=
&layer=3Dgeohab&layer=3Dentrances&mapsize=3D395+315"><U><FONT=
 COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://www.ozestuaries.org/bin/mapserv40?&map=3D/publi=
c/http/www/docs//oracle/ozestuaries/gis/estuary.map&mode=3Ditemquery&=
amp;mapext=3Dshapes&qlayer=3Dgeohabquery&qitem=3Destno&qstrin=
g=3D579&layer=3Dgeohab&layer=3Dentrances&mapsize=3D395+315</F=
ONT></U></A><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">")</FONT><FONT FACE=3D"Times New Roman"> </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">The qlayer info in the map file =
looks like this:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">#####</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">LAYER</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  NAME geohabquery</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  DATA =
shape/geohabext</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  TYPE query</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  STATUS ON</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  CLASS</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  TEMPLATE =
frames.html</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  METADATA</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    numclasses =
"nolegend"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">#####</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">The associated display layer =
looks like this:</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">#####</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">LAYER</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  NAME geohab</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  DATA shape/geohab</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  TYPE POLYGON</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  STATUS ON</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  MAXSCALE 2000000</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  LABELITEM =
"Gh_symb"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  LABELMAXSCALE =
100000</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  CLASSITEM =
"Gh_symb"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  METADATA</FONT>

<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">leglabel "Geomorphic habitats"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    numclasses =
"many"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    legorder =
"20"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  CLASS</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    EXPRESSION =
"BBB"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    NAME =
"Barrier/back-barrier"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    LABEL</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
POSITION uc</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
TYPE TRUETYPE</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
FONT times</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
SIZE 8</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
COLOR 0 0 0</FONT>

<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">  OUTLINECOLOR 255 255 255</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    COLOR 205 205 =
205</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  CLASS</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    EXPRESSION =
"CB"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    NAME =
"Central Basin"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    LABEL</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
POSITION uc</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
TYPE TRUETYPE</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
FONT times</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
SIZE 8</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
COLOR 0 0 0</FONT>

<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">  OUTLINECOLOR 255 255 255</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    COLOR 0 195 =
255</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">  … other classes =
…</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">  CLASS</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    EXPRESSION =
"X"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    NAME =
"Unassigned"</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    LABEL</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
POSITION uc</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
TYPE TRUETYPE</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
FONT times</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
SIZE 8</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
COLOR 0 0 0</FONT>

<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">  OUTLINECOLOR 255 255 255</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">    COLOR 130 130 =
130</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  TOLERANCE 5</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">  TEMPLATE =
query/geohab.html</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">END</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">#####</FONT>

<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">And relevant parts =
of the map object look like this (this is not the entire contents of the =
map object):</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">#####</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">NAME estuary.map</FONT>

<BR><B><FONT SIZE=3D2 FACE=3D"Courier New">EXTENT -3100000 -5600000 =
3000000 -1000000</FONT></B>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">TEMPLATEPATTERN =
".*"</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">#####</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I hope this helps.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Dave</FONT><FONT FACE=3D"Times New =
Roman"></FONT>=20

<BR><FONT SIZE=3D2 FACE=3D"Courier New">-----Original =
Message-----</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">From: Werner du Plessis =
[</FONT><A HREF=3D"mailto:werner at spatialdimension.co.za"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier =
New">mailto:werner at spatialdimension.co.za</FONT></U></A><FONT SIZE=3D2 =
FACE=3D"Courier New">] </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Sent: Friday, 30 January 2004 =
6:37 PM</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">To: Beard David</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Subject: RE: [Mapserver-users] =
FW: Itemquery</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Hi David,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Is this working for you. I have =
tried every possible combination without any luck. </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">The following URL: </FONT><A =
HREF=3D"http://mscpt-sd10/cgi-bin/mapserv.exe?map=3Dmap.map&mode=3Dit=
emnquery&qlayer=3Dcountry&qitem=3Dcntry_name&qstring=3DNAMIBI=
A"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier =
New">http://mscpt-sd10/cgi-bin/mapserv.exe?map=3Dmap.map&mode=3Ditemn=
query&qlayer=3Dcountry&qitem=3Dcntry_name&qstring=3DNAMIBIA</=
FONT></U></A></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Returns:</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">msQueryByAttributes(): Search =
returned no results. No matching record(s) found. </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I have seen postings Re: the =
extent being wrong in the mapfile. Any ideas from your side. </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Kind Regards</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Werner du Plessis</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">-----Original Message-----</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">From: David.Beard at ga.gov.au =
[</FONT><A HREF=3D"mailto:David.Beard at ga.gov.au"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier =
New">mailto:David.Beard at ga.gov.au</FONT></U></A><FONT SIZE=3D2 =
FACE=3D"Courier New">]</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Sent: Friday, January 30, 2004 =
12:20 AM</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">To: Werner du Plessis; =
mapserver-users at lists.gis.umn.edu</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Subject: RE: [Mapserver-users] =
FW: Itemquery</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Werner, </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Try this: =
...mode=3Ditemnquery&qlayer=3Dcountry&qitem=3Dcntry_name&qstr=
ing=3DNAMIBIA</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Dave</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Courier New">-----Original Message-----</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">From: =
mapserver-users-admin at lists.gis.umn.edu</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">[</FONT><A =
HREF=3D"mailto:mapserver-users-admin at lists.gis.umn.edu"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier =
New">mailto:mapserver-users-admin at lists.gis.umn.edu</FONT></U></A><FONT =
SIZE=3D2 FACE=3D"Courier New">] On Behalf Of Werner du Plessis</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Sent: Thursday, 29 January 2004 =
5:41 PM</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">To: =
mapserver-users at lists.gis.umn.edu</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Subject: [Mapserver-users] FW: =
Itemquery</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Hi, </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I am experiencing a problem with =
(Itemquery, Itemnquery). Regardless of syntax I get the message "No =
Matching Records found". </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier =
New">Mapserver       : =
      4.0</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">OS      =
        =
:       Windows 2000 Professional</FONT>

<BR>        =
       =20

<BR><FONT SIZE=3D2 FACE=3D"Courier New">My URL string follows:</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">...mode=3Ditemnquery&qlayer=3Dcountry&qstring=3D('[CNTRY_NAM=
E]'+EQ+'NAMIBIA')</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I have tried all sorts of =
combinations including upper/lower case field names, but it doesnt seem =
to make any difference.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Any help in this regard would be =
much appreciated. </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Kind Regards</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Werner</FONT>=20
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C3E91D.170BBA16--



More information about the MapServer-users mailing list