You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Geoserver as a backend to serve WMTS layers, which are built on the frontend using "optionsFromCapabilities". Within the capabilities document, I see URL templates on how to implement GetFeatureInfo that look like this:
I would like a feature that helps build GetFeatureInfo URLs, using the templates provided from a WMTS capabilities document. I would imagine it to have the same (or similar) API as the "TileWMS.getFeatureInfoUrl" function.
It looks like these pull requests were on the right track but never completed: #2373, #3150
The text was updated successfully, but these errors were encountered:
I don't think this would be a method of the WMTS source as it requires information not available to the source. It is however easy to deduce the url needed for an info request given the parsed capabilities, the options used to create the source and the format required for the info, together with the coordinate and resolution, in the application using existing API methods. For example replacing the WMS with WMTS in the GetFeatureInfo example https://codesandbox.io/s/getfeatureinfo-tile-forked-4418ms?file=/main.js
Handling reprojection would require the non-API ol/reproj#calculateSourceResolution method to provide the most appropriate resolution.
I'm using Geoserver as a backend to serve WMTS layers, which are built on the frontend using "optionsFromCapabilities". Within the capabilities document, I see URL templates on how to implement GetFeatureInfo that look like this:
I would like a feature that helps build GetFeatureInfo URLs, using the templates provided from a WMTS capabilities document. I would imagine it to have the same (or similar) API as the "TileWMS.getFeatureInfoUrl" function.
It looks like these pull requests were on the right track but never completed: #2373, #3150
The text was updated successfully, but these errors were encountered: