-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetCapabilities request is extremely slow when “OWS_LAYER_GROUP” is used #5081
Comments
…slow when “OWS_LAYER_GROUP” is used" MapServer#5081. Changed the code to create a unique set of groups and then compare them with layer names to avoid multiple passes through layer names.
|
fixed with #5094 |
|
Is/should this be backported to 6.4.x? |
|
Hi I think we should backport this to 6.4 Regards From: Tom Kralidis [mailto:notifications@github.com] Is/should this be backported to 6.4.x? — |
…slow when “OWS_LAYER_GROUP” is used" #5081. Changed the code to create a unique set of groups and then compare them with layer names to avoid multiple passes through layer names.
|
Backported to branch-6-4 |
GetCapabilities request is extremely slow when the Mapfile has nested layers using “OWS_LAYER_GROUP”. This bug exists from the version 6.2 of Mapserver.
Following link has more details of this bug.
http://osgeo-org.1560.x6.nabble.com/Re-Getcapabilities-extremely-slow-in-version-6-4-1-td5191374.html
I have uploaded two map files and two map part files which can be used to reproduce this bug.
http://osgeo-org.1560.x6.nabble.com/file/n5194857/layer_group.map
http://osgeo-org.1560.x6.nabble.com/file/n5194857/layer_group.part
http://osgeo-org.1560.x6.nabble.com/file/n5194857/no_layer_group.map
http://osgeo-org.1560.x6.nabble.com/file/n5194857/no_layer_group.part
Map file layer_group.map uses layer_group.map.part which has LAYER_GROUPS defined.
Map file no_layer_group.map uses no_layer_group.map.part which has no LAYER_GROUPS defined.
I use the following command line in my server to time the getcapabilities requests.
time /web/cgi-bin/mapserv -nh "QUERY_STRING=map=/web/ms4w/apps/tutorial/htdocs/layer_group.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities"
time /web/cgi-bin/mapserv -nh "QUERY_STRING=map=/web/ms4w/apps/tutorial/htdocs/no_layer_group.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities"
The text was updated successfully, but these errors were encountered: