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
Add support for WMTS tile map service #1855
Comments
Sounds great! What do you think would be a good API for it? According to our demo (which needs a new demo tile source, by the way, if you know of one!), here's an example TMS:
So maybe we support WMTS like so?
I suppose we could also do something like this:
… But I think that could be confusing for people just coming looking for WMTS without knowing the implementation details. Either way, we can lean heavily on the TmsTileSource for implementation. Sound good? Are you up for making a pull request around this? If so, I'm happy to provide guidance. Otherwise, hopefully someone else will pick up the torch. |
I thought about this a little. How about a property called Incidentally, 'TMS' is the acronym of Tile Map Service, not tiled (i.e. the current tile source key |
Nice. Well, that sounds reasonable to me. Are you up for making it happen? Sounds like it'll just be a small change to TmsTileSource, plus some documention. Also, do you know of any sample files out there in these formats that we can use for the demo page? |
Yes, more than happy to attempt a pull request for that. (Might take a week or so until I can start looking into this though.) I'll also look for good example layers to post on the website. |
Awesome, thank you! No worries on the timing, of course :-) |
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: Would be interested to hear your feedback! |
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! |
WMTS 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:
Therefore I wonder if WMTS could be made a config option to the TMS tilesource?
The text was updated successfully, but these errors were encountered: