I currently have an interactive map with multiple layers based on the WMS protocol, which has been working fairly well. I use GeoServer to serve the layers and OpenLayers for the front-end. My problem has been that the tiles have been loading very slowly for large data-sets. I decided to use GWC, which is built into GeoServer, to seed the tiles to improve performance. All my layers are in EPSG:27700 and it turns out this CRS does not play nicely with GWC as I found out in my previous question, How to use geowebcache seeded tiles with a custom projection (EPSG: 27700) in openlayers.
I decided to use WMTS, which has solved the problem I was having in the previous question, however I have noticed that there is no GetFeatureInfo call with WMTS as with WMS. I have found some mention of using the WMTS REST API to get feature information, however I am having a lot of trouble finding a good example of how this is done.
Does anyone know of a good resource or have a code example to help with my problem?
Best Answer
It depends on what is supported by your service implementation, but in theory it is possible, by which I mean the
OpenGISĀ® Web Map Tile Service Implementation Standard
(OGC 07-057r7) defines such an operation:etc.
If your server only supports the
OGC Web Map Tile Service (WMTS) Simple Profile
(13-082r2) then I think there is no operation defined.Refs:
OGC Web Map Tile Service (WMTS) Simple Profile
OpenGIS Web Map Tile Service Implementation Standard