[MapProxy] WMTS GetFeatureInfo
Jorge Gustavo Rocha
jgr at di.uminho.pt
Wed Jun 3 04:16:45 PDT 2015
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
More information about the MapProxy
mailing list