[OpenLayers-Users] WMSGetFeatureInfo Format - get bounds

bartvde at osgis.nl bartvde at osgis.nl
Thu Oct 29 10:07:31 EDT 2009


Hi Alexandre,

so you only have the boundedBy element and not the actual geometry in the
output?

If so, I don't think this is currently possible, can you please file an
enhancement bug in Trac?

The parsing of the geometry was added in:

http://trac.openlayers.org/changeset/9178

Best regards,
Bart

> 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
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list