[OpenLayers-Users] the WMSGetFeatureInfo control, exceptions & infoFormats

Andrew Bailey andy at planetnomad.com
Wed Dec 21 11:48:35 EST 2011


Thanks Bart,

That's very useful information. So it sounds like we'll make a
stab at modifying our use of the
GeoExt.tree.WMSCapabilitiesLoader to capture the available
exception and info_format values.

Merry christmas,
Andy


On Wed, Dec 21, 2011, at 05:37 PM, Bart van den Eijnden wrote:

Hi Andrew,

the control just uses the EXCEPTIONS parameter value as specified
on the WMS Layer. So you can control it that way.

infoFormat can also be specified on a WMS layer: parameter name
is INFO_FORMAT

wrt the type value, e.g. ArcGIS Server returns an XML structure
that does not allow us to determine from which layer a feature
came when requesting GetFeatureInfo for multiple layers from an
ArcGIS service. Not much we can do about this. I've reported this
to ESRI in the past.

Best regards,
Bart
--
Bart van den Eijnden
OSGIS - [1]http://osgis.nl
On Dec 21, 2011, at 5:25 PM, Andrew Bailey wrote:

WMSGetFeatureInfo control & Exceptions.
If I use a Control.Click to build some GetFeatureInfo requests I
can
define an Exceptions parameter as part of the request. I've
noticed that
if I'm using the WMSGetFeatureInfo control then there is
Exceptions
parameter to define. I'm wondering if this is something that's
missing
from the control or it's handled deep within the library. Or as a
developer is it something to be worried about.
infoFormats.
To place this in context: I'm working on an OL application with a
collection of WMS layers of interest on top of some national base
mapping. We're dealing with probably about 40-50 WMS publishers
who use
a good healthy mix of supported infoFormats :-/
We wish to implement an Info tool for all visible layers. The
WMSGetFeatureInfo control is rather attractive for us as it
allows a
drillDown but I'm wondering if a more resilient approach would be
to
capture the infoFormats when we do our initial getCapabilities
(as part
of the GeoExt tree panel) and then build separate GetFeatureInfo
requests for each layer. That way we would at least be able to
identify
which features come from which WMS layer. I've noticed that with
the
drillDown/WMSGetFeatureInfo approach not all features are
returning with
a type value. If two separate WMS layers are defined from the
same WMS
then i can't distinguish between the two.
Your thoughts/code would be appreciated on either matter!
Andy
_______________________________________________
Users mailing list
[2]Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

References

1. http://osgis.nl/
2. mailto:Users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111221/54ac257d/attachment.html


More information about the Users mailing list