[OpenLayers-Trac] Re: [OpenLayers] #3634: WMSGetFeatureInfo does work across the 180 line.

OpenLayers trac-20090302 at openlayers.org
Thu Mar 8 02:46:02 EST 2012


#3634: WMSGetFeatureInfo does work across the 180 line.
----------------------+-----------------------------------------------------
 Reporter:  scaddenp  |       Owner:                        
     Type:  bug       |      Status:  new                   
 Priority:  major     |   Milestone:  2.12 Release          
Component:  general   |     Version:  2.11                  
 Keywords:            |       State:  Awaiting User Feedback
----------------------+-----------------------------------------------------
Changes (by ahocevar):

  * state:  => Awaiting User Feedback


Comment:

 The bbox that OpenLayers uses for the GetFeatureInfo request should be the
 same as for the GetMap request. In the example above, the llbbox is
 150.30,-50.17,190.69,-30.78. Now two interesting questions: what is your
 layer's maxExtent in the GetCapabilities response? And does the url below
 return a feature info?

 http://maps.gns.cri.nz/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=gns%3APETROLEUM.NZ_2D_SEIS_LINES&QUERY_LAYERS=gns%3APETROLEUM.NZ_2D_SEIS_LINES&STYLES=&BBOX=16731556.455300998%2C-6475305.631310003%2C1189768.3702969998%2C-3603719.353092&FEATURE_COUNT=1&HEIGHT=587&WIDTH=919&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gml&SRS=EPSG%3A900913&X=754&Y=363

 Note that this is the same url as your original one, but with the right
 edge at 10.69 instead of 190.69.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3634#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list