-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on get feature info with WMTS added in the TOC #707
Comments
perhaps linked to #660 |
We have the same issue with COG layers |
@catmorales
I don't know why at the moment, this error doesn't always appear. It seems to depend on the order in which the GFI responses arrive, meaning that if the GFI response for a WMST layer is the first MS does not seems to be able to handle the exception raised by the server. This should be investigated to properly understand the reason since we are not experiencing problems like that on our end therefore it would be the case to take a look also at the tilematrix set definition of involved WMTS layers you have.
In any case I don't see any connection with COG layers, to be honest, and main reasons are:
The reason why you have this impression is probably because, together with COG layers in TOC, you have also added one or more WMTS layer. |
Investigation outcomeThe app crash issue occurs when WMTS responds with However, this doesn't happen with TEXT or PROPERTIES as format SolutionModify the GFI wmts exception response based on return ['text/plain', 'text/html'].includes(params.infoformat) ? {data: 'no features were found'} : { data: { features: []}}; |
Describe the bug
Since the 2023.02.00-georchestra release, when adding a WMTS in the TOC, the getfeature info request doesn't work and mapstore crashes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the feature info popup open with the attributes information of vector layers as usual
Screenshots
ej with cadastre wmts layer but it is the same with orthophoto2021 wmts layer
Desktop (please complete the following information):
Mapstore release : 2023.02.xx(1dfbf084)
Additional context
We didn't have this problem with the 2022 releases.
We use a standalone geowebcache.
The original data is in EPSG 3948 but published on geoserver in different EPSG 3857, 4326 and 2154.
The mapstore map is in EPSG 3857.
The text was updated successfully, but these errors were encountered: