[mapserver-dev] WMS 1.3 GetFeatureInfo

Yewondwossen Assefa yassefa at dmsolutions.ca
Wed Mar 9 07:46:23 EST 2011

Hi Bart,

On 08/03/2011 6:35 PM, Bart van den Eijnden wrote:
> Hi devs,
> how was WMS GetFeatureInfo implemented in Mapserver for WMS 1.3?
> Does I and J follow the axis order like it says in the spec?
  Currently I,J are treated as X and Y without looking at the axis order.
I have added http://trac.osgeo.org/mapserver/ticket/3720 and will add a 
patch later today to inverse the I,J values based on the map projection.
I am wondering though how clients (such as QGIS, OpenLayers) interacting 
with MapServer send these values for the 1.3.0 versions.

best regards,

> *, J*
> 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 The point (I,J) 
> is a point in the (/i/,/j/) space defined by the Map CS (see 6.7.2). 
> Therefore:
> ⎯the value of I shall be between 0 and the maximum value of the /i 
> /axis; ⎯the value of J shall be between 0 and the maximum value of the 
> /j /axis; ⎯the point I=0, J=0 indicates the pixel at the upper left 
> corner of the map; ⎯I increases to the right and J increases downward.
> 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).
> Best regards,
> Bart
> -- 
> Looking for flexible support on OpenLayers or GeoExt? Please check out 
> http://www.osgis.nl/support.html
> Bart van den Eijnden
> bartvde at osgis.nl <mailto:bartvde at osgis.nl>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev

Assefa Yewondwossen
Software Analyst

Email: yassefa at dmsolutions.ca

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110309/492ab994/attachment.html

More information about the mapserver-dev mailing list