Ticket #3258 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

Changed 3 years ago by dmorissette

Patch against trunk that implements this

Changed 3 years ago by dmorissette

  • status changed from new to assigned

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

Changed 3 years ago by dmorissette

  • cc jlacroix added

Changed 3 years ago by assefa

  • 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.