<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY 
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2>Hi Nelson,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2>put this </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2>&nbsp;&nbsp;&nbsp; 'wms_include_items' 
'all'<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2>in the METADATA block for your layer.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=890173315-06012008><FONT face=Arial 
color=#0000ff size=2><!-- Converted from text/plain format -->
<P><FONT size=2>Mit freundlichen Grüssen<BR><BR>Arnd Wippermann<BR><A 
href="http://gis.ibbeck.de/ginfo/">http://gis.ibbeck.de/ginfo/</A><BR><BR></FONT></P></FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> UMN MapServer Users List 
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>Im Auftrag von </B>nelson 
guda<BR><B>Gesendet:</B> Freitag, 4. Januar 2008 22:59<BR><B>An:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Betreff:</B> Re: [UMN_MAPSERVER-USERS] WFS 
request options<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Thanks Josh, </DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>I looked over the WMS GetFeatureInfo request, and this is exactly what I 
need. For some reason, though the only data I am getting back looks like 
this:</DIV>
<DIV>
<DIV style="MARGIN: 0px"><FONT class=Apple-style-span face=Courier><BR 
class=webkit-block-placeholder></FONT></DIV>
<DIV style="MARGIN: 0px">
<DIV style="MARGIN: 0px"><FONT style="FONT: 13px Courier" face=Courier 
size=4>GetFeatureInfo results:</FONT></DIV>
<DIV style="MIN-HEIGHT: 16px; MARGIN: 0px; FONT: 13px Courier"><BR></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 13px Courier" face=Courier 
size=4>Layer 'ira_fill2'</FONT></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 13px Courier" face=Courier 
size=4>Feature 689: </FONT></DIV>
<DIV style="MARGIN: 0px"><FONT class=Apple-style-span face=Courier><BR 
class=webkit-block-placeholder></FONT></DIV>
<DIV style="MARGIN: 0px"><FONT class=Apple-style-span face=Courier><BR 
class=webkit-block-placeholder></FONT></DIV></DIV></DIV>
<DIV>The feature number appears to correspond to the correct place in the dbf 
file, but none of the rest of the feature data is being returned. I don't 
understand. Does anyone have any ideas? </DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>thanks,</DIV>
<DIV>nelson</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>Here is the mapfile and request that I made:</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><B>Request:</B></DIV>
<DIV><A 
href="http://thewildwoodstudios.com/cgi-bin/mapserv?map=../roadlessland/maps/ira.map&amp;REQUEST=GetFeatureInfo&amp;SERVICE=WMS&amp;reaspect=false&amp;VERSION=1.1.1&amp;LAYERS=ira_fill2&amp;STYLES=default&amp;FORMAT=image/gif&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;SRS=EPSG:4326&amp;WIDTH=256&amp;HEIGHT=256&amp;QUERY_LAYERS=ira_fill2&amp;x=254&amp;y=165&amp;BBOX=-122.16796875,46.37725420510028,-122.080078125,46.4378568950242">http://thewildwoodstudios.com/cgi-bin/mapserv?map=../roadlessland/maps/ira.map&amp;REQUEST=GetFeatureInfo&amp;SERVICE=WMS&amp;reaspect=false&amp;VERSION=1.1.1&amp;LAYERS=ira_fill2&amp;STYLES=default&amp;FORMAT=image/gif&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;SRS=EPSG:4326&amp;WIDTH=256&amp;HEIGHT=256&amp;QUERY_LAYERS=ira_fill2&amp;x=254&amp;y=165&amp;BBOX=-122.16796875,46.37725420510028,-122.080078125,46.4378568950242</A></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><B>Mapfile:</B></DIV>
<DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>MAP</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>NAME "Roadless"</DIV>
<DIV>STATUS ON</DIV>
<DIV>SIZE 800 600</DIV>
<DIV>STATUS ON</DIV>
<DIV>EXTENT -124.40950012207 18.2457218170166 -65.7071533203125 
49.0011405944824</DIV>
<DIV>IMAGETYPE PNG</DIV>
<DIV>SHAPEPATH "../shapefiles"</DIV>
<DIV>FONTSET ../fonts/fonts.txt</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>PROJECTION</DIV>
<DIV>"init=epsg:54004"</DIV>
<DIV>END</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>WEB</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>IMAGEPATH 
"/tmp/"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>IMAGEURL 
"/tmp/"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>METADATA</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>"wms_title" 
"ira_wms"</DIV>
<DIV><SPAN class=Apple-tab-span 
style="WHITE-SPACE: pre"></SPAN>"wms_onlineresource" "<A 
href="http://thewildwoodstudios.com/cgi-bin/mapserv?map=../roadlessland/maps/ira.map&amp;">http://thewildwoodstudios.com/cgi-bin/mapserv?map=../roadlessland/maps/ira.map&amp;</A>"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>"wms_srs" 
"EPSG:4326 EPSG:54004 EPSG:4269"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>END </DIV>
<DIV>END</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>LAYER</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>NAME 
"ira_fill2"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>TYPE 
POLYGON</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>METADATA</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>"wms_title" 
"ira_fill2" </DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>"wms_srs" 
"EPSG:4326 EPSG:54004"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>END</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>PROJECTION</DIV>
<DIV><SPAN class=Apple-tab-span 
style="WHITE-SPACE: pre"></SPAN>"init=epsg:4269"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>END</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>DATA 
ira_by_name_nad83</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>STATUS ON</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>TRANSPARENCY 
75</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>LABELITEM 
"NAME"</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>LABELMAXSCALE 
1000000</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>TEMPLATE 
"query.html" </DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>TOLERANCE 
3</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>TOLERANCEUNITS 
PIXELS</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>DUMP TRUE</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>CLASSITEM 
"ID"</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>CLASS</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>STYLE </DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>COLOR 0 255 
0</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>END</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>LABEL</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>COLOR 0 0 
0</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>OUTLINECOLOR 255 
255 255</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>MINFEATURESIZE 
40</DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>TYPE 
TRUETYPE</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>FONT 
arial-narrow-italic</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>SIZE 8</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>ANTIALIAS 
TRUE</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>POSITION 
cc</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>PARTIALS 
FALSE</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>MINDISTANCE 
300</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>WRAP '/'</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>END </DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>END</DIV>
<DIV>END </DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV>END</DIV></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV>
<DIV><BR class=webkit-block-placeholder></DIV><BR>
<DIV>
<DIV>On Jan 4, 2008, at 10:48 AM, Josh Livni wrote:</DIV><BR 
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
  <DIV style="MARGIN: 0px">Nelson,</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">Using this method, you don't want to make a WFS 
  request - you want to make a WMS request.<SPAN class=Apple-converted-space> 
  </SPAN>The mapserver site has documentation on how to set up your mapfile to 
  respond to WMS requests<SPAN class=Apple-converted-space> </SPAN>(<A 
  href="http://mapserver.gis.umn.edu/docs/howto/wms_server">http://mapserver.gis.umn.edu/docs/howto/wms_server</A>) 
  as well as the template (which can be very simple for your use case).</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">There's a thread on the google groups list about 
  using getFeatureInfo, but since the guy's WMS is down it's probably not the 
  best example (though you could still look at his code).</DIV>
  <DIV style="MARGIN: 0px"><A 
  href="http://openlayers.org/dev/examples/getfeatureinfo.html">http://openlayers.org/dev/examples/getfeatureinfo.html</A> 
  is another example that you could probably start with for assistance on the 
  client side -- you'd need to modify it to work with Google Maps (eg using 
  Google's methods to get at their bbox and other criteria while creating the 
  queryUrl, and to parse the result) but the concept is the same, so this should 
  get you started.</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">Also - glad to hear my old comments helped on the 
  roadlessland site - it looks nice.</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">Cheers,</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">-Josh</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">PS - Please be sure to CC the mapserver list if this 
  doesn't make sense - others here may well have better ideas on how to help 
  than me, and chances are if you want to know something, others may be in the 
  same boat, and thus find the thread helpful.</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">nelson guda wrote:</DIV>
  <BLOCKQUOTE type="cite">
    <DIV style="MARGIN: 0px">Hi again, Josh,</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px">I just tried "DescribeFeatureType", which works but 
    the response only give the names of the variables.<SPAN 
    class=Apple-converted-space> </SPAN>Any idea on how to get the actual data 
    about those variables?</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px">many thanks,</DIV>
    <DIV style="MARGIN: 0px">nelson</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px">DescribeFeatureType response:</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;element name="ira"</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>type="ms:iraType"</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>substitutionGroup="gml:_Feature" 
    /&gt;</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;complexType name="iraType"&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;complexContent&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;extension 
    base="gml:AbstractFeatureType"&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;sequence&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;element name="msGeometry" 
    type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;element name="NAME" 
    type="string"/&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;element name="ID" 
    type="string"/&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;/sequence&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;/extension&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;/complexContent&gt;</DIV>
    <DIV style="MARGIN: 0px"><SPAN 
    class=Apple-converted-space></SPAN>&lt;/complexType&gt;</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px">On Jan 4, 2008, at 8:53 AM, Josh Livni wrote:</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <BLOCKQUOTE type="cite">
      <DIV style="MARGIN: 0px">This doesn't answer you question exactly, but 
      have you considered using a WMS getFeatureInfo request instead?<SPAN 
      class=Apple-converted-space> </SPAN>Then you can use a simple 
      template.html to decide which attributes you want to return for later 
      parsing.<SPAN class=Apple-converted-space> </SPAN>I've done this a few 
      times myself with Google Maps.</DIV>
      <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
      <DIV style="MARGIN: 0px"><SPAN 
      class=Apple-converted-space></SPAN>-Josh</DIV>
      <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
      <DIV style="MARGIN: 0px">nelson guda wrote:</DIV>
      <BLOCKQUOTE type="cite">
        <DIV style="MARGIN: 0px">Hi all,</DIV>
        <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
        <DIV style="MARGIN: 0px">I have an odd request regarding WFS 
        capabilities.<SPAN class=Apple-converted-space> </SPAN>Is it possible to 
        have a WFS mapserver request return gml results without the geometry 
        data?</DIV>
        <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
        <DIV style="MARGIN: 0px">I know that this seems odd, but it makes sense 
        for what I am doing.<SPAN class=Apple-converted-space> </SPAN>I am using 
        a WMS overlay to serve tiles for a large dataset to an overlay on google 
        maps.<SPAN class=Apple-converted-space> </SPAN>In order to query 
        specific polygons from that dataset (a shapefile), I am using a WFS 
        GetFeature request.<SPAN class=Apple-converted-space> </SPAN>All I need 
        is the id and other parameters of the feature, but not the geometry data 
        (because it is already there from the WMS.<SPAN 
        class=Apple-converted-space> </SPAN>Right now I am just parsing out the 
        info I need from the gml at the server level, but it would be much 
        faster if I could get the WFS to return only the feature info minus the 
        geometry data.<SPAN class=Apple-converted-space> </SPAN>Is this 
        possible?</DIV>
        <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
        <DIV style="MARGIN: 0px">Thanks, and thanks for your previous 
help.</DIV>
        <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
        <DIV 
style="MARGIN: 0px">nelson</DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></DIV><BR></BODY></HTML>