[MapProxy] WMTS GetFeatureInfo

Oliver Tonnhofer olt at omniscale.de
Wed Jun 3 08:26:58 PDT 2015


Hi,

GetFeatureInfo is not supported for WMTS, only for WMS.

Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com




> On 03.06.2015, at 13:16, Jorge Gustavo Rocha <jgr at di.uminho.pt> wrote:
> 
> Hi,
> 
> I'm trying to use GetFeatureInfo [1] on top of MapProxy WMTS layers, using OpenLayers [1]. Is this possible?
> 
> MapProxy WMTS GetCapabilities document does not include the operation GetFeatureInfo (only GetCapabilities and GetTile) [2].
> 
> I've tried to do it. I've created a layer with a cache from a wms source. I've set featureinfo: true in the source. It is configured with:
> 
> loteamentos_source:
>    type: wms
>    wms_opts:
>      featureinfo: true
>      version: 1.3.0
>    req:
>      url: http://localhost:8080/geoserver/wms
>      layers: luminarias4
>      transparent: true
> 
> When I tried to do a GetFeatureInfo, I get an error on the server log (mapproxy.log):
> 
> /service/base.py", line 29, in handle
>    handler = getattr(self, parsed_req.request_handler_name)
> AttributeError: 'WMTSServer' object has no attribute 'featureinfo'
> 
> Help is welcome. Thanks,
> 
> [1] http://localhost/mapproxy/service/?SERVICE=WMTS&REQUEST=GetFeatureInfo&VERSION=1.0.0&LAYER=lote900913&STYLE=default&TILEMATRIXSET=osm_grid&TILEMATRIX=13&TILEROW=3084&TILECOL=3903&FORMAT=image%2Fpng&INFOFORMAT=text%2Fhtml&I=109&J=7
> 
> [2] http://localhost/mapproxy/service/?SERVICE=WMTS&REQUEST=GetCapabilities&VERSION=1.0.0
> 
> 
> J. Gustavo
> -- 
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Tel: +351 253604480
> Fax: +351 253604471
> Móvel: +351 910333888
> skype: nabocudnosor
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list