Hello,
I'm having some problems getting valid responses from geoserver to WMTS
GetFeatureInfo requests.
I've been using a geoserver instance running on a Docker container
(kartoza/geoserver), and I've created a layer (Foo:orto-red) which
provides access to a georeferenced GeoTIFF represented in EPSG:4326.
Here's the request:
http://localhost:8080/geoserver/gwc/service/wmts?service=WMTS&request=GetFeatureInfo&version=1.0.0&layer=Foo:orto-red&format=image/png&TileMatrixSet=EPSG:4326&TileMatrix=EPSG:4326:0&TileRow=0&TileCol=0&J=86&I=132&InfoFormat=application/json
The previous request returns the following response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1" > <ServiceException
code="OperationNotSupported" locator="QUERY_LAYERS">
Either no layer was queryable, or no layers were specified using
QUERY_LAYERS
</ServiceException></ServiceExceptionReport>
It seems that geoserver throws an exception that is relevant only to
WMS, although the WMTS request appears to be valid.
Another odd aspect is that this response is returned by geoserver with a
HTTP status 200 OK, which appears to be a violation of WMTS v1.0.0 (OGC
07-057r7 7.3.2.2)
Rui Maciel
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users