tileserver-gl
tileserver-gl copied to clipboard
Add support for 512 sized raster tiles
This PR adds support for setting tile size as parameter for rendered tiles endpoint. Users should now be able to set tile size to be 256 or 512 pixels for rendered tiles when using direct endpoint for rendered tiles. Other functionality has been updated to use 256 pixel sized tiles as before changes.
Old rendered tiles endpoint:
/styles/style/{z}/{x}/{y}[@2x].{format}
New rendered tiles endpoint:
/styles/style/{tileSize}/{z}/{x}/{y}[@2x].{format}
Tile size can be 256 or 512 pixels.
WMTS getCapabilities document has been updated to contain two layers for serving 256 and 512 pixel sized tiles as separate layers. Additionally, tileMatrixSets have been added for 512 pixel sized tiles (EPSG:3857 and EPSG:4326).
NOTE: TileJSON file generation seems broken and these change will not show all possible endpoints in tiles
section.
NOTE: Due to this change rendered tiles endpoint changes and it will break existing applications where direct rendered endpoint is used.
Ps. Feel free to open discussion to address some problems with it
Hi. Thanks You can upgrade this feature on Docker?
Hi, when this will be implemented and merge ?
I do not intend to merge this PR, it is too outdated and is incomplete.
I recently made https://github.com/maptiler/tileserver-gl/pull/1136 which is based off of this but on the current codebase. It adds some fixes to try and complete this. This one has a chance to be implemented, if the remaining issues can be solved there. I have no timeline, but any testers an code recommendations in that PR version would help speed it up.