[Geoserver-users] GetCapabilities from a single feature

Is it possible to make a GetCapabilities request from a single feature of a WFS service?

Thanks!

I assume you mean GetFeature not GetCapabilities:

See https://docs.geoserver.org/latest/en/user/services/wfs/reference.html#getfeature

with lots of examples

···

Von: XAVIER RAYO SARRIAS <xrayo@…10429…>
Gesendet: Donnerstag, 21. Oktober 2021 12:27
An: geoserver-users@lists.sourceforge.net
Betreff: [Geoserver-users] GetCapabilities from a single feature

WARNUNG: Diese E-Mail kam von außerhalb der Organisation. Klicken Sie nicht auf Links oder öffnen Sie keine Anhänge, es sei denn, Sie kennen den/die Absender*in und wissen, dass der Inhalt sicher ist.

Is it possible to make a GetCapabilities request from a single feature of a WFS service?

Thanks!

Hi Marci,
thanks for your answer. The truth is that I was thinking in Getcapabilities because I want to obtain the Bbox of a single feature from my layer. And I thought that maybe I could do a filter from the getcapabilities request.
Any Idea?

Thanks!

El jue, 21 oct 2021 a las 12:57, Marco Lechner (<mlechner@anonymised.com>) escribió:

I assume you mean GetFeature not GetCapabilities:

See https://docs.geoserver.org/latest/en/user/services/wfs/reference.html#getfeature

with lots of examples

Von: XAVIER RAYO SARRIAS <xrayo@anonymised.com>
Gesendet: Donnerstag, 21. Oktober 2021 12:27
An: geoserver-users@lists.sourceforge.net
Betreff: [Geoserver-users] GetCapabilities from a single feature

WARNUNG: Diese E-Mail kam von außerhalb der Organisation. Klicken Sie nicht auf Links oder öffnen Sie keine Anhänge, es sei denn, Sie kennen den/die Absender*in und wissen, dass der Inhalt sicher ist.

Is it possible to make a GetCapabilities request from a single feature of a WFS service?

Thanks!

Hallo Xavier,

GetCapabilities is not the correct request for this, because GetCapa request describe the capabilities of a service. GetCapabilities exist for all common WxS-services and return the metadata needed to work with the service itself. Getcapabilities do not work on a feature basis.

What you could do is request your feature using the GetFeature request and use a format including the geometry (e.g. GeoJSON or GML) that can be used to easily calc the bbox (btw. What ist he bbox of a point feature?

Br

Marco

···

Von: XAVIER RAYO SARRIAS <xrayo@…10429…>
Gesendet: Donnerstag, 21. Oktober 2021 13:01
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] GetCapabilities from a single feature

Hi Marci,

thanks for your answer. The truth is that I was thinking in Getcapabilities because I want to obtain the Bbox of a single feature from my layer. And I thought that maybe I could do a filter from the getcapabilities request.

Any Idea?

Thanks!

El jue, 21 oct 2021 a las 12:57, Marco Lechner (<mlechner@…7891…>) escribió:

I assume you mean GetFeature not GetCapabilities:

See https://docs.geoserver.org/latest/en/user/services/wfs/reference.html#getfeature

with lots of examples

Von: XAVIER RAYO SARRIAS <xrayo@…10429…>
Gesendet: Donnerstag, 21. Oktober 2021 12:27
Betreff: [Geoserver-users] GetCapabilities from a single feature

Is it possible to make a GetCapabilities request from a single feature of a WFS service?

Thanks!