[OpenLayers-Trac] [OpenLayers] #3382: WMS 1.3.0 and axis ordering

OpenLayers trac-20090302 at openlayers.org
Thu Jun 23 05:22:32 EDT 2011


#3382: WMS 1.3.0 and axis ordering
-----------------------+----------------------------------------------------
 Reporter:  jachym     |       Owner:  euzuro      
     Type:  bug        |      Status:  new         
 Priority:  minor      |   Milestone:  2.12 Release
Component:  Layer.WMS  |     Version:  2.10        
 Keywords:             |       State:              
-----------------------+----------------------------------------------------
 WMS 1.3.0 uses in general same minx,miny,maxx,maxy logic in BBOX parameter
 as 1.1.0, BUT it adds new condition

   The units, ordering and direction of increment of the x and y axes are
 as defined by the Layer CRS (see 6.7.3)

 OpenLayers currently (2.10 and trunk) are assuming, that the only epsg
 code with reversed axis order is EPSG:4326
 [http://trac.osgeo.org/openlayers/browser/trunk/openlayers/lib/OpenLayers/Layer/WMS.js#L67]

 MapServer has a nice ticket to this issue
 [http://trac.osgeo.org/mapserver/ticket/3582] with solution
 [http://trac.osgeo.org/mapserver/changeset/11155] -> they prepared table,
 which indicates if given EPSG code has or has not reversed axis order.

 What do you think, shall I try to extend OpenLayers.Layer with similar
 method? OpenLayers.Layer.WFS 1.1.1 will face similar issues, IMHO.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3382>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list