[Mapserver-users] itemfeaturequery in version 4

Chris Storozuk cstorozuk at shaw.ca
Tue Oct 28 08:09:40 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_00F0_01C39D3B.99A40380
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is itemfeaturequery being supported in version 4? I find only 1 =
reference for it in the archives, and none in the last year.

I am trying to do an intersect query in the same manner as case 3 of the =
demos for item/value pairs. I receive no results found each time - is =
there an alternative way to perform these queries?

document.mapserv.mode.value=3D"itemfeaturequery";
document.mapserv.qlayer.value=3D"townships";
document.mapserv.slayer.value=3D"photos";
document.mapserv.recordid.value=3D"1"; // this is a valid record in =
townships

where recordid is defined in the map file for the townships layer filter =
as:
FILTER "%recordid%"

Thanks,
Chris

------=_NextPart_000_00F0_01C39D3B.99A40380
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2733.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Is itemfeaturequery being supported in =
version 4? I=20
find only 1 reference for it in the archives, and none in the last=20
year.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am trying to do an intersect query in =
the same=20
manner as case 3 of the demos for item/value pairs. I receive no results =
found=20
each time - is there an alternative way to perform these =
queries?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>document.mapserv.mode.value=3D"itemfeaturequery";<BR>document.ma=
pserv.qlayer.value=3D"townships";<BR>document.mapserv.slayer.value=3D"pho=
tos";</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>document.mapserv.recordid.value=3D"1"; =
// this is a=20
valid record in townships</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>where recordid is defined in the map =
file for the=20
townships layer filter as:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>FILTER "%recordid%"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Chris</FONT></DIV></BODY></HTML>

------=_NextPart_000_00F0_01C39D3B.99A40380--




More information about the MapServer-users mailing list