[Geoserver-users] python lib to work with Geoserver WFS incl. support for viewparams

2022-10-10 Thread Marco Lechner via Geoserver-users
Hi,



does anyone know a python lib making it easy to work with a Geoserver WFS that 
has support for viewparams?



OWSlib does not seem to support viewparams, but ignores the viewparams. As a 
result the viewparams are always set to the default values as configured in 
Geoservers layer configuration. Or may be I am using OWSlib wrong and just do 
not know how to use it with viewparams?



Regards

Marco



i.A. Dr. Marco Lechner

Leiter Fachgebiet RN 1 │ Head RN 1



--

Bundesamt für Strahlenschutz │ Federal Office for Radiation Protection 
Koordination Notfallschutzsysteme │ Coordination Emergency Systems │ RN 1 
Rosastr. 9

D-79098 Freiburg

___
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


Re: [Geoserver-users] GetCapabilities from a single feature

2021-10-21 Thread Marco Lechner via Geoserver-users
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 
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 
(mailto: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 mailto:xr...@utm.csic.es>>
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!
___
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


Re: [Geoserver-users] GetCapabilities from a single feature

2021-10-21 Thread Marco Lechner via Geoserver-users
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 
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