<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Mark,<br>
    I show you my layer definition, which works.<br>
    As I understand, the bold parameters in the metadata section are
    missing in your mapfile...<br>
    (...)<br>
    LAYER<br>
        NAME "odl_einstundenmittel"<br>
        TYPE POINT<br>
        STATUS ON<br>
        MINSCALEDENOM 100001<br>
    <br>
        METADATA<br>
            WMS_TITLE "blabla"<br>
            WMS_ABSTRACT "blabla"<br>
            WMS_ENABLE_REQUEST "*"<br>
            INCLUDE
    "../../include/general/standard_extent_germany_4326.map"<br>
            <b>GML_INCLUDE_ITEMS "name,datum,WERT"<br>
              GML_name_ALIAS "Station"<br>
              GML_datum_ALIAS "Messende"<br>
              GML_WERT_ALIAS "Messwert"</b><br>
        END<br>
    <br>
        TEMPLATE "blank.gml"<br>
        INCLUDE "../../include/general/db_mysql_connect_odl_result.map"<br>
        DATA "blöbla"<br>
    <br>
        TOLERANCE 6<br>
        TOLERANCEUNITS pixels<br>
        INCLUDE "../../include/classes/class_odl_rb_nolabel.map"<br>
    END<br>
    <br>
    Regards,<br>
    Stefan<br>
    <pre class="moz-signature" cols="72">
</pre>
    <br>
    Am 25.03.2013 14:50, schrieb Mark Davidson:
    <blockquote
cite="mid:CAPpwVW1a_FR4bS8fn0yETgDe0Q-TcQ2wVLS2mpvkAkjU1P=4Vw@mail.gmail.com"
      type="cite">Here is my entire map file just in-case I’ve done
      something stupid. <br>
      <br>
      MAP <br>
          PROJECTION<br>
              "init=epsg:4326"<br>
          END<br>
      <br>
          FONTSET "fonts.list"<br>
          NAME TEST<br>
          STATUS ON<br>
          SIZE 1000 1000<br>
          MAXSIZE 3000<br>
          EXTENT -180 -90 180 90<br>
          UNITS DD<br>
      <br>
          WEB<br>
              METADATA<br>
                      "ows_enable_request" "*"<br>
                      "wms_title"           "Testing"<br>
                      "wms_onlineresource"  "<a moz-do-not-send="true"
        href="http://localhost/cgi-bin/mapserv?map=test2.map&">http://localhost/cgi-bin/mapserv?map=test2.map&</a>"<br>
                      "wms_srs" "EPSG:900913"<br>
              END <br>
          END<br>
          SYMBOL<br>
              NAME "circle"<br>
              TYPE ellipse<br>
              FILLED true<br>
              POINTS<br>
                   1 1<br>
              END<br>
          END<br>
          <br>
          LAYER<br>
              NAME "test"<br>
              METADATA<br>
                  "wms_title"    "Test Points"  ##required<br>
              END<br>
              TEMPLATE "blank.html"<br>
              TOLERANCE 10<br>
              TYPE POINT<br>
              CONNECTIONTYPE postgis<br>
              CONNECTION ""<br>
              DATA "position from datatable"<br>
              DEBUG TRUE<br>
      <br>
              CLASS<br>
                  STYLE<br>
                      SIZE 10<br>
                      SYMBOL "circle"<br>
                      COLOR 255 0 0<br>
                  END<br>
              END<br>
          END<br>
      END<br>
      <br>
      <div class="gmail_quote">On 25 March 2013 13:42, Kralidis,Tom
        [Ontario] <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:Tom.Kralidis@ec.gc.ca" target="_blank">Tom.Kralidis@ec.gc.ca</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Mark: try
          (in LAYER) DUMP TRUE?  Can you post the layer definition
          snippet from your mapfile?<br>
          <br>
          From: <a moz-do-not-send="true"
            href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>
          [mailto:<a moz-do-not-send="true"
            href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>]
          On Behalf Of Mark Davidson<br>
          Sent: Monday, March 25, 2013 09:30<br>
          To: Stefan Schantz<br>
          Cc: <a moz-do-not-send="true"
            href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
          Subject: Re: [mapserver-users] GetFeatureInfo GML<br>
          <div class="HOEnZb">
            <div class="h5"><br>
              Hi Stefan,<br>
              <br>
              Thanks for the suggestion, I've tried that but still
              getting the same output as before.<br>
              Any other suggestions?<br>
              <br>
              Thanks again,<br>
              <br>
              Mark<br>
              On 25 March 2013 11:41, Stefan Schantz <<a
                moz-do-not-send="true" href="mailto:SSchantz@bfs.de">SSchantz@bfs.de</a>>
              wrote:<br>
              Hi Mark,<br>
              I use gml_include_items 'all'<br>
              <br>
              Best regards<br>
              Stefan<br>
              <br>
              Am <a moz-do-not-send="true" href="tel:25.03.2013%2011"
                value="+12503201311">25.03.2013 11</a>:44, schrieb Mark
              Davidson:<br>
               Hi All,<br>
              <br>
              I'm trying to do a GetFeaureInfo on my layer and return it
              in GML format. The request works fine but I can't seem to
              get any data to come back apart from the point bounds.<br>
              <?xml version="1.0" encoding="ISO-8859-1"?><br>
              <br>
              <msGMLOutput<br>
              xmlns:gml="<a moz-do-not-send="true"
                href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>"<br>
              xmlns:xlink="<a moz-do-not-send="true"
                href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>"<br>
              xmlns:xsi="<a moz-do-not-send="true"
                href="http://www.w3.org/2001/XMLSchema-instance"
                target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
              <test_layer><br>
              <gml:name>Test Points</gml:name><br>
              <test_feature><br>
              <gml:boundedBy><br>
              <gml:Box srsName="EPSG:900913"><br>
              <gml:coordinates>-269220.293738,6545357.533946
              -269220.293738,6545357.533946</gml:coordinates><br>
              </gml:Box><br>
              </gml:boundedBy><br>
              </test_feature><br>
              <test_feature><br>
              <gml:boundedBy><br>
              <gml:Box srsName="EPSG:900913"><br>
              <gml:coordinates>-253276.741855,6554416.311795
              -253276.741855,6554416.311795</gml:coordinates><br>
              </gml:Box><br>
              </gml:boundedBy><br>
              </test_feature> </test_layer>
              </msGMLOutput><br>
              <br>
              What I would like to be able to do is get the feature id
              as what happends with the plain output<br>
              GetFeatureInfo results:<br>
              <br>
              Layer 'test'<br>
              Feature 326:<br>
              Feature 327:<br>
              <br>
              I've set `gml_include_items` to * and `wms_include_item`
              to * as well but still not having any luck.<br>
              <br>
              Could someone point me in the direction of doing this?<br>
              <br>
              Many thanks,<br>
              <br>
              Mark<br>
               <br>
              <br>
              <br>
              <br>
              _______________________________________________<br>
              mapserver-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
                target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
              <br>
              _______________________________________________<br>
              mapserver-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
                target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </body>
</html>