Hello,

I have a layer group consisting of three layers. Each corresponding  to 
different tables in PostGIS and different scale levels as determined in three 
different stylefiles.
Now suddenly the layer group is very slow when viewed from far away. It used to 
work a lot faster. Not sure when it changed although we upgraded to the 2.25.1 
version, but I think this was happening before too. Just now started 
investigating.

Here is the configuration:
Layer Group mode single.

Layer 1: 2 000 000 features, shown on scale 4000 and below.
Layer 2: 200 000 features, shown on scale between 4000 - 8000.
Layer 3: 20 000 features, shown on scales over 8000

Styles are quite large with the biggest one being just under 4000 lines in CSS 
and 16 000 lines in SLD. Maybe a contributing factor but I also tested with 
generic style modified with similar scale ranges.

I tested with scale 1:30 000 and it took some 10 seconds to load in QGIS 
although I think it should only use the third layer with only 20 000 features. 
Individually the third layer took under one second to load.
With generic style modified with similar scale ranges. Results were faster as 
it took under 3 seconds to load the layer group but individually layer 3 took 
only 0.5 to 1 second to load. With very simple style it still uses a lot time 
to do something.

Has anyone else noticed similar results?

GeoServer version 2.25.1.
Pekka Lampinen
GIS Developer








_______________________________________________
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