[Geoserver-users] describe feature request

Hi,

I was discussing with someone recently in the jvn mobile gis group and the person told me that the wms specs includes a describe feature request. This request returns an XML encoding of the attribute data of a feature. Does Geoserver support this feature ? if it does how can i use it ?

Thanks,

Roman

This is not completely true/right.

SLD WMS contains a request called DescribeLayer. Using DescribeLayer, you
can get the necessary info to create a WFS DescribeFeatureType request,
which will give back which attributes the feature has.

So (intranet urls, so just for reference):
http://145.50.148.45:8082/geoserver/wms?service=WMS&request=DescribeLayer&layers=rwsagi:DIENSTEN_DROOG&version=1.1.1

and then:
http://145.50.148.45:8082/geoserver/wms?service=WFS&request=DescribeFeatureType&typename=rwsagi:DIENSTEN_DROOG&version=1.0.0

Best regards,
Bart

On Thu, 15 May 2008 01:45:03 -0700 (PDT), Roman Isitua
<romanisitua@anonymised.com> wrote:

Hi,

  I was discussing with someone recently in the jvn mobile gis group and
the person told me that the wms specs includes a describe feature

request.

This request returns an XML encoding of the attribute data of a feature.
Does Geoserver support this feature ? if it does how can i use it ?

  Thanks,

  Roman

Roman Isitua ha scritto:

Hi,
I was discussing with someone recently in the jvn mobile gis group and the person told me that the wms specs includes a describe feature request. This request returns an XML encoding of the attribute data of a feature. Does Geoserver support this feature ? if it does how can i use it ?

It's not part of the base WMS standard, but part of the WMS + SLD standard and called DescribeLayer, but in the end it will just give you
just a redirect to the WFS DescribeFeatureType call, that you can just
make that one directly. Of course, for this to work, WFS should be enabled as well.

For more details about DescribeLayer download the SLD 1.0 standard (not the 1.1) from www.opengeospatial.org, it should fill in the details.
For more information about the DescribeFeatureType WFS call, download
the WFS 1.0 standard from www.opengeospatial.org.
Btw, there are sample calls of both of them in the demo requests
section of GeoServer.

Cheers
Andrea