Description
WMTS GetFeatureInfo against the national OGC services at https://data.geopf.fr/wmts fail because apparently it expects the FORMAT parameter, which according to my reading of the WMTS spec is mandatory.
How to reproduce
Expected Result
we should get a valid return value/feedback
Current Result
a 400 code with this ExceptionReport about missing FORMAT:
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1">
<Exception exceptionCode="MissingParameterValue" >
Parametre FORMAT absent.
</Exception>
</ExceptionReport>
adding a FORMAT=application/json parameter results in another ExceptionReport:
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1">
<Exception exceptionCode="InvalidParameterValue" >
Le format application/json n'est pas gere pour la couche ADMINEXPRESS-COG-CARTO.LATEST
</Exception>
</ExceptionReport>
which is another issue and blatantly wrong serverside, since this format is listed in the values for infoformat in https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities
i'll bring up that last bit to the service admins, but in my opinion and interpretation of the spec mapstore should also send the format parameter here: https://github.com/geosolutions-it/MapStore2/blob/master/web/client/utils/mapinfo/wmts.js#L97
Description
WMTS GetFeatureInfo against the national OGC services at https://data.geopf.fr/wmts fail because apparently it expects the FORMAT parameter, which according to my reading of the WMTS spec is mandatory.
How to reproduce
Expected Result
we should get a valid return value/feedback
Current Result
a 400 code with this ExceptionReport about missing FORMAT:
adding a
FORMAT=application/jsonparameter results in another ExceptionReport:which is another issue and blatantly wrong serverside, since this format is listed in the values for infoformat in https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities
i'll bring up that last bit to the service admins, but in my opinion and interpretation of the spec mapstore should also send the format parameter here: https://github.com/geosolutions-it/MapStore2/blob/master/web/client/utils/mapinfo/wmts.js#L97