Currently GetFeatureInfo (GFI) only works for WMS (and WFS/Vector) layers. WMTS
also allows the GFI service, provided that the backend WMTS server is able to
support this. Within the Dutch PDOK project there is a need to support WMTS GFI
, in particular to view feature info of BGT layers (large scale topography).
Similar to WMS GFI WMTS GFI needs to be enabled via the Layer configuration.
This implies that also the Heron Context XSD and XML needs to be aware of WMTS
GFI. openLayer supports WMTS GFI via the OpenLayers.Control.WMTSGetFeatureInfo
class, similar to WMS GFI control.
Within the Heron core framework the following adaptations are required for WMTS
GFI:
1- FeatureInfoPanel class: create/handle both WMS and WMTS OpenLayers GFI
Controls. Should follow the same patterns as WMS GFI.
2- FeatureInfoPopup class: handle WMTS GFI/Control
3. ToolbarBuilder class: adapt the featureinfo button entry (pre-creates
Controls e.g.)
4. Heron Context: adapt XSD and XML config handling (mapping config to the
creation of Layers with parameters). In particular use the 'queryable' config
parameter in addition to the featureInfoFormat parameter. The 'queryable'
parameter is also compatible with GXP.
5. Example: extend the existing WMS featureinfo examples with WMS layers
6. App: extend the app/pdokviewer application config to enable WMTS GFI for
some PDOK layers
It is assumed that all rendering using the existing featurePanel will work as
expected, i.e. no changes required.
Original issue reported on code.google.com by jus...@gmail.com on 18 Nov 2014 at 2:32
Original issue reported on code.google.com by
jus...@gmail.com
on 18 Nov 2014 at 2:32