Hi,

I have published INSPIRE Land Cover WFS service using Geoserver 2.19.1 with
app-schema extension. The service is available at
https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS&request=GetCapabilities

The data is stored in the PostGIS database.

The service publishes over 6 000 000 land cover objects.

I noticed that it takes around 20 seconds for the service to return the
response to the most basic GetFeature request
https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS&request=GetFeature&version=2.0.0&TYPENAMES=lcv:LandCoverUnit&count=1


However, if I add the BBOX parameter to the request, significantly limiting
the area of the request, the response times are much better. E.g.
https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS&request=GetFeature&version=2.0.0&TYPENAMES=lcv:LandCoverUnit&count=100&BBOX=500000,500000,600000,600000
takes around 2 seconds.

I suspect that such GeoServer behaviour is related to the fact that the
server wants to establish the total number of features that can be
downloaded by the service (attribute numberMatched) and is doing it for the
full BBOX defined for the lcv:LandCoverUnit feature type in the service
GetCapabilities response.

I would be grateful for any suggestion regarding lowering the response
times for the non-spatial GetFeature requests.

Best regards,
Marcin
_______________________________________________
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