<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Bart,<br>
    <br>
    On 08/03/2011 6:35 PM, Bart van den Eijnden wrote:
    <blockquote cite="mid:930205D4-6426-4C72-A69B-9FD4602220B6@osgis.nl"
      type="cite">Hi devs,
      <div><br>
      </div>
      <div>how was WMS GetFeatureInfo implemented in Mapserver for WMS
        1.3?</div>
      <div><br>
      </div>
      <div>Does I and J follow the axis order like it says in the spec?</div>
      <div><br>
      </div>
    </blockquote>
     Currently I,J are treated as X and Y without looking at the axis
    order.<br>
    I have added <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapserver/ticket/3720">http://trac.osgeo.org/mapserver/ticket/3720</a> and will
    add a patch later today to inverse the I,J values based on the map
    projection.<br>
    I am wondering though how clients (such as QGIS, OpenLayers)
    interacting with MapServer send these values for the 1.3.0 versions.
    <br>
    <br>
    best regards,<br>
    <br>
    <br>
    <blockquote cite="mid:930205D4-6426-4C72-A69B-9FD4602220B6@osgis.nl"
      type="cite">
      <div>
        <div style="margin: 0px; font: 10px Arial;"><b>7.4.3.7<span
              class="Apple-tab-span" style="white-space: pre;"> </span>I,
            J</b></div>
        <div style="margin: 0px; font: 10px Arial;">The mandatory I and
          J request parameters are integers that indicate a point of
          interest on the map that was produced by the embedded GetMap
          request (the “map request part” described in 7.4.3.3). The
          point (I,J) is a point in the (<span style="font: 10px 'Times
            New Roman';"><i>i</i></span>,<span style="font: 10px 'Times
            New Roman';"><i>j</i></span>) space defined by the Map CS
          (see 6.7.2). Therefore:</div>
        <div style="margin: 0px; font: 10px Arial;"><span style="font:
            10px Helvetica;">⎯<span class="Apple-tab-span"
              style="white-space: pre;"> </span></span>the value of I
          shall be between 0 and the maximum value of the <span
            style="font: 10px 'Times New Roman';"><i>i </i></span>axis;
          <span style="font: 10px Helvetica;">⎯<span
              class="Apple-tab-span" style="white-space: pre;"> </span></span>the
          value of J shall be between 0 and the maximum value of the <span
            style="font: 10px 'Times New Roman';"><i>j </i></span>axis;
          <span style="font: 10px Helvetica;">⎯<span
              class="Apple-tab-span" style="white-space: pre;"> </span></span>the
          point I=0, J=0 indicates the pixel at the upper left corner of
          the map; <span style="font: 10px Helvetica;">⎯<span
              class="Apple-tab-span" style="white-space: pre;"> </span></span>I
          increases to the right and J increases downward.</div>
        <div style="margin: 0px; font: 10px Arial;">The point (I,J)
          represents the centre of the indicated pixel. If the value of
          I or of J is invalid, the server shall issue a service
          exception (code = InvalidPoint).</div>
        <div style="margin: 0px; font: 10px Arial;"><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>Best regards,</div>
          <div>Bart</div>
          <div><br>
          </div>
          <div>
            <div style="word-wrap: break-word;"><span
                class="Apple-style-span" style="border-collapse:
                separate; color: rgb(0, 0, 0); font-family: Helvetica;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; line-height: normal;
                orphans: 2; text-indent: 0px; text-transform: none;
                white-space: normal; widows: 2; word-spacing: 0px;
                font-size: medium;">
                <div style="word-wrap: break-word;">
                  <div>
                    <div>-- </div>
                    <div>Looking for flexible support on OpenLayers or
                      GeoExt? Please check out <a
                        moz-do-not-send="true"
                        href="http://www.osgis.nl/support.html">http://www.osgis.nl/support.html</a></div>
                    <div><br>
                    </div>
                    <div>Bart van den Eijnden</div>
                    <div>OSGIS</div>
                    <div><a moz-do-not-send="true"
                        href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a></div>
                  </div>
                </div>
              </span></div>
          </div>
          <br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: <a class="moz-txt-link-abbreviated" href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>    
<a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a>

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------

</pre>
  </body>
</html>