Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.7.2
-
Fix Version/s: 2.0.x
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
DescribeLayer is meant to return a reference to a WFS or a WCS DescribeFeature/DescribeCoverage, but at the moment it's always returning a reference to WFS.
Also figure out what the expected behaviour for layer groups is, eventually throw a service exception if there is no way to describe it.
For coverage the thing is a little confusing, as we'd have to drop the wfs attribute and use owsType, owsURL instead. From the DTD:
LayerDescription: describes the contents of a NamedLayer, the name of which
is specified in the 'name' attribute. If the NamedLayer is not feature based,
then the LayerDescription has no further contents. If the NamedLayer is feature
based then the 'wfs' attribute gives the URL prefix for the WFS containing the
feature data. Equivalently, the 'owsType' and 'owsURL' attributes can be used to
indicate the OWS type & base URL of a service. The 'wfs' attribute is retained
for greater compatibility with the WFS specification. The presently recognized
valid values for 'owsType' are "WFS" and "WCS", though more may be allowed in the
future.
The LayerDescription contains one or more Query elements that specify the
feature-types present in the NamedLayer.