Expand description
TilesProxy: a cache proxy for tiles.
Supported standards for tiles:
- OGC WMTS: OpenGIS Web Map Tile Service
- XYZ (aka Slippy Map Tilenames): the de facto OpenStreetMap standard
Configuration of origin tiles servers is done in a TOML file.
To enable browser caching, HTTP headers are added: ETag and Cache-Control. CORS headers are also added to enable canvas export (eg.: in OpenLayers) from browser.
Modulesยง
- cache ๐Tile cache management.
- config ๐Configuration for TilesProxy, deserialized from TOML file.
- http_
headers ๐Additional HTTP headers for browser cache management. - tile_
request ๐Structs to store HTTP requests of a tile.
Functionsยง
- general_
not_ ๐found Catcher for 404 errors. - index ๐Root url.
- main ๐
- rocket ๐Rocket launch.
- run ๐Run function, also used by tests.
- URL for WMTS tile.
- wmts_
tile_ ๐not_ found Catcher for 404 errors about WMTS tile. - URL for XYZ tile.
- xyz_
tile_ ๐not_ found Catcher for 404 errors about XYZ tile.