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)
Change History (4)
by , 14 years ago
Attachment: | ticket3258.patch added |
---|
comment:1 by , 14 years ago
Status: | new → assigned |
---|
Assefa, does the attached patch seem okay to you? Do you think this change of behavior would break anything?
comment:2 by , 14 years ago
Cc: | added |
---|
comment:3 by , 14 years ago
Cc: | 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.
Patch against trunk that implements this