-
Notifications
You must be signed in to change notification settings - Fork 405
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
GetCapabilites parsing error for inspire_vs:ExtendedCapabilities #6489
Comments
@MV88 I remember that this issue is related to a problem with the library MS is using to parse the GetCapabilities output. Are there more details that can be included in the description to help with the estimate? @offtherailz can you please confirm the estimate and provide more hints for the implementation part as a result of your investigation? |
the issue description is already well detailed. this would have also other benefits in terms of performance (reduced bundle size) |
my understanding of this issue is that the ogc-schemas npm module lacks proper support for inspire schemas... |
@MV88 you might want to try what i did in landryb/MapStore2@35f31b2 to add support for inspire schemas |
@ElenaGallo still waiting for your functional tests here. |
Description
Mapstore currently fails to parse the GetCapabilities result that contains inspire_vs:ExtendedCapabilities for retrieving styles.
it fails here and it goes then in the catch here
I also noticed a variety of ways to retrieve & parse getCapabilities we should unify
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/actions/layerCapabilities.js#L55
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/api/WMS.js#L113
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/api/WMS.js#L169
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/observables/wms.js#L42
How to reproduce
Expected Result
to see the styles for that layer
Current Result
there is this error when parsing with jsonix
so the styles list is empty
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
The text was updated successfully, but these errors were encountered: