Hi Devs,<br><br>We are using the new UNION and CLUSTER setting to combine features from multiple layers in WMS requests. The set of the source layers along with the union layer are defined dynamically in the LAYERS section such as:<br>
<br><b>LAYERS=unionlayer,layer1,layer2,layer2</b><br><br>and the union layer use the <b>PROCESSING &quot;UNION_STATUS_CHECK=TRUE&quot;</b> option to make sure that only the visible source layers are used when retrieving data at the union (cluster) layer.<br>
<br>This approach works quite well with the GetMap requests but do not work with the GetFeatureInfo requests since all of the layers specified in the <b>QUERY_LAYERS</b> parameter should be queriable (by specifying the <b>TEMPLATE</b> setting) otherwise an error message is generated at the server. Our intention is to make only the union layer queryable but we still require to enumerate the source layers in the <b>QUERY_LAYERS</b> parameter.<br>
<br>Would that be a chance to remove the check that all layers should be queryable (in msWMSFeatureInfo line 3200) or make the check conditional (controlled by a processing option for example).<br>In my opinion it is not harmful to issue a query on a non-queryable layer so removing this check would not result in erroneous operation.<br>

<br>Or do we have some other reasons which make this check inevitable? <br><br>Best regards,<br><br>Tamas<br><br><br>