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
WMTS Basemap.at isn't working #604
Comments
Confirmed, I think, but I don't understand why. No errors, as far as I can see. Anyone else see what's wrong? |
There are 5 tilesets. Which one are you trying to add? |
I just need the layer bmapgrau. Because this layer is not working I tried to add the other ones, but all of them are not working. |
OK, I've figured out the problem, but I don't yet have a solution. In the meantime, I can tell you how to edit the exported code to get it to work (I think). I need to know whether you are exporting as Leaflet or OpenLayers. |
It would be great if you can tell me how (and maybe why :) I should change the code. |
I do apologize, but it turns out that the problem is more fundamental than I thought - qgis2web is pretty much not exporting WMTSes correctly. I don't yet have a solution for this, even with manual code editing, but I will still look further into it. |
OK, for the moment I think I do have a workaround (and you don't need to edit your exported code by hand):
I still need to investigate how to achieve full WMTS functionality, but do let us know if this workaround works for you. |
I've asked for help with the underlying issue here: https://gis.stackexchange.com/questions/268415/add-wmts-to-leaflet-using-its-getcapabilities-url I've asked about Leaflet, but there are still issues with sorting this out in OpenLayers. |
Thanks for your workaround, its working also with other WMTS-Layer. |
Superceded by #610 |
Hi folks, sorry for digging this out. So it seems to me, there is a workaround in the definition of the layer but not in the actual export, right? I've seen the same behaviour with this WMTS (which is commonly used in German governmental and non-governmental institutions) http://sgx.geodatenzentrum.de/wmts_topplus_open/1.0.0/WMTSCapabilities.xml :
|
Hi,
thanks for your great Qgis plugin. I'm trying to add a basemap from https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml but it doesn't appear as basemap. The background is just white.
I tried different qgis2web (2.31/.2.32/2.33), Qgis (2.16/2.16 german/english) and OS (win7/win10/ubuntu 14.02) versions. Nothing changed.
Thanks
The text was updated successfully, but these errors were encountered: