#2810 closed defect (fixed)
WMS_LAYER_GROUP
Reported by: | KHirst | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | 5.4 release |
Component: | WMS Server | Version: | 5.2 |
Severity: | normal | Keywords: | wms_layer_group |
Cc: | dmorissette, sdlime |
Description
I am using OWS_LAYER_GROUP to create a group hierarchy. I have one group with "/Tropical_Cyclone/WA/System_1" and another with "/Tropical_Cyclone/WA/System_1_EM"
However, all the layers are grouped as "/Tropical_Cyclone/WA/System_1" within the getcapabilities and on WMS Clients.
If I change the second grouping to "/Tropical_Cyclone/WA/EM_System_1", the layers are in 2 correct groups.
Change History (3)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Component: | MapServer C Library → WMS Server |
Milestone: | → 5.2.1 release |
Owner: | changed from | to
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Effectively, the function "strncmp" was the problem. I replaced it by "strcmp".
Commited in SVN trunk in r8443.
comment:3 by , 15 years ago
Milestone: | 5.2.1 release → 5.4 release |
---|
Note:
See TracTickets
for help on using tickets.
I had a quick look at the code and it's very possible that the source of the problem might be in msWMSIsSubGroup()'s use of strncmp() in mapwms.c.
Assigned to Alan.