Add support for WMTS tile map service
See original GitHub issueWMTS is a service for georeferenced maps, served as image tiles. It’s very similar to the TMS specification, which is already supported.
It seems that the only change to the TMS tilesource implementation that’s needed to make it a WMTS implementation is this:
// Original TMS implementation (tmstilesource.js, line 128)
getTileUrl: function( level, x, y ) {
var yTiles = this.getNumTiles( level ).y - 1;
return this.tilesUrl + level + "/" + x + "/" + (yTiles - y) + ".png";
}
// Changed to...
getTileUrl: function( level, x, y ) {
return this.tilesUrl + level + "/" + x + "/" + y + ".png";
}
Therefore I wonder if WMTS could be made a config option to the TMS tilesource?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Add WMTS services—ArcGIS Pro | Documentation
Right-click the WMTS service in the Catalog pane to add the service to the current map or a new map. Expand the WMTS...
Read more >WMTS - MapTiler Support
This article will help you understand what a Web Map Tile Service ... You will learn how to add WMTS from MapTiler Cloud...
Read more >To Add an Image from WMTS (Web Map Tile Service)
To Add an Image from WMTS (Web Map Tile Service) · In Display Manager, click Data Connect To Data. · In the Data...
Read more >Web Map Tile Service (WMTS) - Texas Parks and Wildlife
In order to add the WMTS, open ArcCatalog, within the Catalog tree, expand GIS Servers, and double click "Add WMTS Server".
Read more >WMTS – OGC Web Map Tile Service — GDAL documentation
Access to WMTS layers is possible with the GDAL WMTS client driver (needs Curl support). It support both RESTful and KVP protocols.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Even DZI images have an XML “manifest” so I wouldn’t think that’s an issue…
I personally think all tile sources should be plugins so developers can just pull in the ones they use.
Very cool!
Hi,
finally revisited this after a long time. In the end, I think it’s not possible to implement useful WMTS support purely with a tilesource.
The first issue, I assume, could be handled somehow (after all, IIIF manifests work in a similar way). But because of the second issue, I thought this might be easier/better to handle via a plugin.
I made a first version here: https://github.com/recogito/openseadragon-wmts
Would be interested to hear your feedback!