[Mapserver-users] FW: Itemquery

David.Beard at ga.gov.au David.Beard at ga.gov.au
Sun Feb 1 18:42:44 EST 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 &quot;<I>No matching records found, layer =
and area of interest do not overlap</I>&quot;? 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 &quot;No matching records found&quot; 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 &quot;derwent&quot; 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?&amp;map=3D/public/http/=
www/docs//oracle/ozestuaries/gis/estuary.map&amp;mode=3Ditemquery&amp;map=
ext=3Dshapes&amp;qlayer=3Dgeohabquery&amp;qitem=3Destno&amp;qstring=3D579=
&amp;layer=3Dgeohab&amp;layer=3Dentrances&amp;mapsize=3D395+315"><U><FONT=
 COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://www.ozestuaries.org/bin/mapserv40?&amp;map=3D/publi=
c/http/www/docs//oracle/ozestuaries/gis/estuary.map&amp;mode=3Ditemquery&=
amp;mapext=3Dshapes&amp;qlayer=3Dgeohabquery&amp;qitem=3Destno&amp;qstrin=
g=3D579&amp;layer=3Dgeohab&amp;layer=3Dentrances&amp;mapsize=3D395+315</F=
ONT></U></A><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">&quot;)</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">&nbsp; NAME geohabquery</FONT>

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

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

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

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

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

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

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

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

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; 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">&nbsp; NAME geohab</FONT>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<P><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; &#8230; other classes =
&#8230;</FONT>
</P>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; 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 =
&quot;.*&quot;</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&amp;mode=3Dit=
emnquery&amp;qlayer=3Dcountry&amp;qitem=3Dcntry_name&amp;qstring=3DNAMIBI=
A"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Courier =
New">http://mscpt-sd10/cgi-bin/mapserv.exe?map=3Dmap.map&amp;mode=3Ditemn=
query&amp;qlayer=3Dcountry&amp;qitem=3Dcntry_name&amp;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&amp;qlayer=3Dcountry&amp;qitem=3Dcntry_name&amp;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 &quot;No =
Matching Records found&quot;. </FONT></P>

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

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

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20

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

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">...mode=3Ditemnquery&amp;qlayer=3Dcountry&amp;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