Opened 14 years ago

Last modified 14 years ago

#3258 assigned defect

GetFeatureInfo on a GROUP of layers should skip non queryable layers instead of producing exception

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 6.0 release
Component: WMS Server Version: unspecified
Severity: normal Keywords:
Cc: assefa, aboudreault, jlacroix, tomkralidis

Description

At the moment, if we do a GetFeatureInfo on a GROUP of layers in which at least one of the layers is not queryable, we get the following exception:

msWMSFeatureInfo(): WMS server error. Requested layer(s) are not queryable.

It would help if we could just skip the non-queryable layers that are part of a group. This would allow things like scale-dependent layers that are grouped together for presentation to have a single queryable layer for the whole group. I don't think the WMS specification forbids that, does it?

Attachments (1)

ticket3258.patch (2.5 KB ) - added by dmorissette 14 years ago.
Patch against trunk that implements this

Download all attachments as: .zip

Change History (4)

by dmorissette, 14 years ago

Attachment: ticket3258.patch added

Patch against trunk that implements this

comment:1 by dmorissette, 14 years ago

Status: newassigned

Assefa, does the attached patch seem okay to you? Do you think this change of behavior would break anything?

comment:2 by dmorissette, 14 years ago

Cc: jlacroix added

comment:3 by assefa, 14 years ago

Cc: tomkralidis added

Daniel, I do not see any issue with this. The only thing I can see is if none of the layers in the group are queryable and we end up with numlayers_found == 0, the error message returned should be checked to reflect this.

Note: See TracTickets for help on using tickets.