deegree / deegree3

Official deegree repository providing geospatial core libraries, data access and advanced OGC web service implementations
https://www.deegree.org
GNU Lesser General Public License v2.1
150 stars 100 forks source link

Disable GetFeatureInfo for single Layer not Working as expected 3.3 #517

Closed stephanr closed 9 years ago

stephanr commented 9 years ago

This is the duplicate issue for the 3.3-Line which is also affected, see #516 for the 3.4 line.

If the configuration of a theme has only layer which are disabled by configuration (see [1]) the Layer still is queryable="1" in WMS/GetCapabilties and could be queried by Request.

In this situation it is not relevant if the element ist disabled by setting:

<l:LayerOptions>
    <l:FeatureInfo enabled="false" />
</l:LayerOptions>

or by specifieing the backward compatible setting of:

<l:LayerOptions>
    <l:FeatureInfoRadius>0</l:FeatureInfoRadius>
</l:LayerOptions>

A demo workspace is available and can be provided if needed, please let me know.

[1] http://download.deegree.org/documentation/3.3.14/html/layers.html#rendering-options

stephanr commented 9 years ago

This issue was fixed by #519