Thanks a lot, Jukka.

I'll try this envelope option.

Thanks!

El jue, 21 oct 2021 a las 13:52, Rahkonen Jukka (MML) (<
jukka.rahko...@maanmittauslaitos.fi>) escribió:

> Hi,
>
>
>
> Your assumption about what GetCapabilities possibly supports is wrong. You
> can read what WMS supports from the standard itself
> https://portal.ogc.org/files/?artifact_id=14416. You could have asked the
> real question right ahead “I want to obtain the Bbox of a single feature
> from my layer. How?”
>
>
>
> You can query the feature with WFS if the server supports WFS, take the
> geometry and compute the envelope. Or you can make WMS GetFeatureInfo
> request with info_format= application/vnd.ogc.gml if your server supports
> the format, take the geometry and compute the envelope. There may be other
> alternatives but those two came into my mind.
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* XAVIER RAYO SARRIAS <xr...@utm.csic.es>
> *Lähetetty:* torstai 21. lokakuuta 2021 14.01
> *Vastaanottaja:* Marco Lechner <mlech...@bfs.de>
> *Kopio:* geoserver-users@lists.sourceforge.net
> *Aihe:* 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 (<mlech...@bfs.de>)
> 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 <xr...@utm.csic.es>
> *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!
>
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to