-
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
Unable to load layer from QGIS Server WMS Demo #1268
Comments
…one SRS supported
Fixed by #1283 |
This problem is still open. If you check this as an admin you will see that while we are parsing the GetCapabilities correctly and showing the map, but once we save and reopen, we are losing the portion of the URL that indicates which map we are using (..&map=/web/demos/sap/police.qgs&..) and so WMS requests fails afterwards. Moreover I noticed that although the WMS version that we have in the GetCapabilities above is 1.1.1 we then make requests using 1.3.0. The version should not be changed between the GetCapabilities and the GetMap! |
On my side, I solved the issue in this way. |
@mricca a PR would be very much appreciated :) |
This is my pull requests: |
Fixed by #1342 |
I can parse the GetCapabilities document here but I cannot add any layers.
I see many errors like this one below in the console:
Uncaught TypeError: t.reduce is not a function
at http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:171:17456
at n (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:20:29403)
at e.addLayer (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:171:20615)
at onClick (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:171:19457)
at Object.r (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:1:29947)
at s (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:1:28770)
at Object.a [as executeDispatchesInOrder] (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:1:28956)
at p (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:1:25408)
at f (http://dev.mapstore2.geo-solutions.it/mapstore/dist/mapstore2.js:1:25534)
at Array.forEach (native)
The text was updated successfully, but these errors were encountered: