Open tportier opened 8 years ago
Same wish for me ! If possible, it would be great! Thank you beforehand. Sylvain M.
+1 pretty please... event if I understand the amount of work it represent just to handle the layer detection and selection mechanism... as explained in https://leafletjs.com/examples/wms/wms.html.
Not sure why this issue is still open, as this WMTS works a charm: http://tile.informatievlaanderen.be/ws/raadpleegdiensten/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=omwrgbmrvl&STYLE=&FORMAT=image/png&tileMatrixSet=GoogleMapsVL&tileMatrix={z}&TILEROW={y}&TILECOL={x}
So, does anybody know whether or better to say how wms or wmts might be already possible in umap? I don't know that it would be already, but I don't exactly get @joostschouppe 's comment above. I tried wmts but I didn't work.
can't find a way to import wms either and I think it would be great o/
WMS I don't know, but here's a screenshot of how I set a custom WMTS, with an URL as shown above.
Feel free to play with (and break) this demo: https://umap.openstreetmap.fr/en/map/demo-wmts_877544
Cool, thanks!!!
@joostschouppe Sorry, didn't mean to misunderstand you or something...
Unfortunately, I only have a "basic WMTS" URL for my North Rhine-Westphalia area and I don't know what to add to it or how to modify this URL. Maybe even it's the wrong one, but it's the only one I have, it comes from JOSM...
thanks a lot for the screeen :) I have the same issue has @Lukas458 : I can't customs the wms server to follow the xyz url format. And also if I get this right this will change the background but will not allow us to add various wms has layers you can select or not.
Heyho! First of all, the initial feature request is about introducing the possibility to create multiple, switchable map background layers in uMap, in analogy to the custom vector data layers. Isn't it? Indeed, as far as I have worked with uMap, only such custom vector data layers are possible. When wanting a background raster map, you are restricted to what has already been discussed above: you can either choose from predefined OSM-based layers, or you can specify one custom background raster tile service in either XYZ or TMS tiling scheme. But this is then fixed for the current map. If you want to have the possibility to manage a complex layer tree with all different kinds of vector and raster data, I think that this will break the simplicity which uMap is trying to achieve/maintain. Sure, this would be a nice feature. But this quickly gets more complex, where you will end up at level of Leaflet or OpenLayers itself, or you are wanting a "fancy Web GIS" software of which there are various different other products already available (Mapbender, GeoMapFish, MapStore).
Second, when I read this, it seems that there is a lack of understanding of how the standards WMS, WMTS, TMS and "OSM XYZ" work. XYZ and TMS basically follow the same tiling scheme with fix scales etc. and just differ in their y axis being inverted. They can be integrated easily, how @joostschouppe already pointed out. WMTS though is a bit more tricky as it allows custom scales etc. and thus, is not ad hoc queryable with the default XYZ/TMS schema. Your WMTS server has to explicitly support a tile matrix set such as tileMatrixSet=GoogleMapsVL
in order to allow being used as XYZ service, like in the above example (I tried it out and it works, just zoom out a bit to the area which is being covered). If your WMTS server does not support such predefined tiling schemas, you will probably not be able to use it in uMap.
WMS is yet another thing, where the map is not returned from a strictly defined tile set, but is rather dynamically rendered ad hoc at each request for the requested zoom level and custom viewport. Supporting also this would be yet again one more layer of complexity and maintenance. Sure, this would also be a nice feature :-).
@michikommader Oh, thank you very much for this clarification, then I certainly know what the "error" is with "my" WMTS link. Thanks!
Add the ability to create new layers based on a wms or a wmts web service