<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=981295918-17032005><FONT face=Arial color=#0000ff size=2>Hi
Liz:</FONT></SPAN></DIV>
<DIV><SPAN class=981295918-17032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=981295918-17032005><FONT face=Arial color=#0000ff size=2>Thanks
very much for this. </FONT></SPAN><SPAN class=981295918-17032005><FONT
face=Arial color=#0000ff size=2></FONT></SPAN></DIV>
<DIV><SPAN class=981295918-17032005><FONT face=Arial color=#0000ff
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=981295918-17032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=981295918-17032005><FONT face=Arial color=#0000ff
size=2>Derek</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Godwin,
Elizabeth <BR><B>Sent:</B> Thursday, March 17, 2005 1:40 PM<BR><B>To:</B>
Munro, Derek; chameleon@lists.maptools.org<BR><B>Subject:</B> RE: [Chameleon]
Mapserver GetFeatureInfo example<BR><BR></FONT></DIV>
<DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=489263318-17032005>Hi
Derek,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=489263318-17032005></SPAN></FONT> </DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Are you loo<SPAN class=224063418-17032005>ki</SPAN>ng for an example of
a response from Mapserver getfeatureInfo request?<SPAN
class=224063418-17032005> </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=224063418-17032005></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=224063418-17032005>This just worked for me against our own
server:</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=224063418-17032005><A
href="http://wms1.agr.gc.ca/cgi-bin/mapeco?service=wms&version=1.1.1&request=getfeatureinfo&x=150&y=150&query_layers=ecodistricts&layers=ecodistricts&width=400&height=300&info_format=application/vnd.ogc.gml">http://wms1.agr.gc.ca/cgi-bin/mapeco?service=wms&version=1.1.1&request=getfeatureinfo&x=150&y=150&query_layers=ecodistricts&layers=ecodistricts&width=400&height=300&info_format=application/vnd.ogc.gml</A></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=224063418-17032005></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=224063418-17032005>It's running Mapserver 4.4 beta 2 right
now</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=224063418-17032005></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=224063418-17032005>Liz
Godwin</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=489263318-17032005><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=224063418-17032005></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV></DIV>
<DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>Munro,
Derek<BR><B>Sent:</B> March 15, 2005 2:00 PM<BR><B>To:</B>
chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] Mapserver
GetFeatureInfo example<BR><BR></DIV></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=128234818-15032005>Hi:
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=128234818-15032005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=128234818-15032005>I note in the
Query widget (QueryResult.phtml) in the function
processWMSGetFeatureInfo( $szURL ) that the code is testing for either
the cubestore application/x-cubestor-gml.1 XML or Mapserver
application/vnd.ogc.gml XML.</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=128234818-15032005>
<P><FONT face=Arial><FONT size=2><SPAN class=128234818-15032005>I was able
to find a small example of the cubestore XML that works properly for me.
</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN
class=128234818-15032005>E.g.</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN
class=128234818-15032005><</SPAN>?xml version="1.0" encoding="ISO-8859-1"
?> <BR> <!-- <BR> comment<BR> -->
<BR> <FeatureCollection typename="Query"
identifier="0"></FONT></FONT></P>
<P><FONT size=+0><FONT size=+0><FONT face=Arial><FONT size=2><SPAN
class=128234818-15032005><</SPAN>boundedBy>
</FONT></FONT></FONT></FONT></P>
<P><FONT size=+0><FONT size=+0><FONT face=Arial><FONT size=2><SPAN
class=128234818-15032005> </SPAN><Box
srsName="EPSG:4326"><BR> <coordinates>-180.0, -90.0, 180.0,
90.0</coordinates> <BR> </Box><BR>
</boundedBy><BR> <featureMember><BR> <Feature
typeName="<SPAN class=128234818-15032005>MoreInformation</SPAN>"
identifier="1"><BR> <property typeName="Abstract"
type="real"><SPAN class=128234818-15032005>Click below to go to a page of
information</SPAN></property></FONT></FONT></FONT></FONT></P>
<P><FONT size=+0><FONT size=+0><property typeName="URL"
type="real">&lt;a href=&#34;<SPAN class=128234818-15032005>some
url goes here </SPAN>&lt;/a&gt;</property> <BR>
</Feature><BR> </featureMember><BR>
</FeatureCollection></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN class=128234818-15032005>However I
expect that I should be using the MapServer XML/GML as that is not as
proprietary. </SPAN>Do<SPAN class=128234818-15032005>es
anyone </SPAN>have an example <SPAN
class=128234818-15032005>of</SPAN> the Mapserver <SPAN
class=128234818-15032005>XML/GML that would parse properly in
QueryResult.phtml to provide the same type of
information</SPAN>?</FONT></FONT></P>
<P><FONT face=Arial size=2></FONT></P></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=128234818-15032005>Thank
you,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Derek Munro<BR></FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>