[OpenLayers-Users] WMSGetFeatureInfo Format - get bounds

Alexandre Dube adube at mapgears.com
Thu Oct 29 09:58:47 EDT 2009


Hi list,

  I'm using Format.WMSGetFeatureInfo.read_msGMLOutput() for 
getFeatureInfo requests.  In the response, I can see the bbox of the 
feature returned [1].  That would be enough to be able to recenter on 
the feature.  The only problem is : vector features created from 
read_msGMLOutput don't have the bound read from [1] (it remains 
'null').  Is there a way to accomplish this with the trunk version of OL 
?  Anyone already accomplished this ?  Any hints ?

  Thanks a lot,

Alexandre

[1]

|<gml:boundedBy>
||  <gml:Box srsName="EPSG:32198">
||    <gml:coordinates>-189513.106700,493755.024100 -185697.319000,495686.861800</gml:coordinates>
||  </gml:Box>
||</gml:boundedBy>

|

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list