[Mapserver-users] attribute query against many fields

hpr h.probsthain at hgn-online.de
Thu Feb 5 07:00:01 EST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C3EBE7.F7587C90
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi users!

How to do an attribute query against many fields with mapserver like:
"field1=3D1 and field2=3D'abc' and field3>0"
The only possibility I found is to set the CGIs qitem=3Dfield1 and =
qstring=3D1.
But this is only a query against the first field, what can I do with the =
other fields ?
Is there a sample anywhere ?

Hagen
=20

------=_NextPart_000_000A_01C3EBE7.F7587C90
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi users!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>How to do an attribute query against many fields =
with=20
mapserver like:</FONT></DIV>
<DIV><FONT size=3D2>"field1=3D1 and field2=3D'abc' and =
field3&gt;0"</FONT></DIV>
<DIV><FONT size=3D2>The only possibility I found is to set the CGIs =
qitem=3Dfield1=20
and qstring=3D1.</FONT></DIV>
<DIV><FONT size=3D2>But this is only a query&nbsp;against the first =
field, what=20
can I do with the other fields ?</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D250472409-18012001>Is =
there a sample=20
anywhere ?<BR><BR>Hagen</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D250472409-18012001></SPAN></FONT>&nbsp;</DIV></DIV></BODY></HTML>=


------=_NextPart_000_000A_01C3EBE7.F7587C90--




More information about the mapserver-users mailing list