scripts/lech/docker/mapproxy.yaml

86 lines
2.6 KiB
YAML
Raw Normal View History

2023-09-07 21:08:48 -04:00
# -------------------------------
# MapProxy example configuration.
# -------------------------------
#
# This is a minimal MapProxy configuration.
# See full_example.yaml and the documentation for more options.
#
# Starts the following services:
# Demo:
# http://localhost:8080/demo
# WMS:
# capabilities: http://localhost:8080/service?REQUEST=GetCapabilities
# WMTS:
# capabilities: http://localhost:8080/wmts/1.0.0/WMTSCapabilities.xml
# first tile: http://localhost:8080/wmts/osm/webmercator/0/0/0.png
# Tile service (compatible with OSM/etc.)
# first tile: http://localhost:8080/tiles/osm/webmercator/0/0/0.png
# TMS:
# note: TMS is not compatible with OSM/Google Maps/etc.
# fist tile: http://localhost:8080/tms/1.0.0/osm/webmercator/0/0/0.png
# KML:
# initial doc: http://localhost:8080/kml/osm/webmercator
services:
demo:
wmts:
restful_template:
'/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png'
layers:
2024-02-12 09:56:56 -05:00
- name: cogtest
title: COG Testing Layer
sources: [cogtest_cache]
- name: cogtest-color
title: COG Color Testing Layer
sources: [cogtestcolor_cache]
2023-09-07 21:08:48 -04:00
- name: osm
title: OSM
sources: [osm_cache]
- name: osmTopo
title: OSM Topo
sources: [osmTopo_cache]
caches:
2024-02-12 09:56:56 -05:00
cogtest_cache:
2023-09-07 21:08:48 -04:00
grids: [GLOBAL_WEBMERCATOR]
2024-02-12 09:56:56 -05:00
sources: [cogtest]
cogtestcolor_cache:
grids: [GLOBAL_WEBMERCATOR]
sources: [cogtestcolor]
2023-09-07 21:08:48 -04:00
osm_cache:
grids: [GLOBAL_WEBMERCATOR]
sources: [osm_tiles]
osmTopo_cache:
grids: [GLOBAL_WEBMERCATOR]
sources: [osmTopo_tiles]
sources:
2024-02-12 09:56:56 -05:00
cogtestcolor:
coverage:
bbox: [-9588062.0710,4451079.4345,-9565234.9894,4474013.5009]
srs: 'EPSG:3857'
grid: GLOBAL_WEBMERCATOR
transparent: true
2023-09-07 21:08:48 -04:00
type: tile
2024-02-12 09:56:56 -05:00
url: https://qgis.bigcavemaps.com/?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=MACA-test-terrain-simple&STYLE=default&FORMAT=image%%2Fjpeg&TILEMATRIXSET=EPSG%%3A3857&TILEMATRIX=%(z)s&TILEROW=%(y)s&TILECOL=%(x)s
cogtest:
coverage:
bbox: [-9588062.0710,4451079.4345,-9565234.9894,4474013.5009]
srs: 'EPSG:3857'
2023-09-07 21:08:48 -04:00
grid: GLOBAL_WEBMERCATOR
2024-02-12 09:56:56 -05:00
transparent: true
type: tile
url: https://qgis.bigcavemaps.com/?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=MACA_Phase2_WGS84_joe_terrain.cog&STYLE=default&FORMAT=image%%2Fjpeg&TILEMATRIXSET=EPSG%%3A3857&TILEMATRIX=%(z)s&TILEROW=%(y)s&TILECOL=%(x)s
2023-09-07 21:08:48 -04:00
osm_tiles:
type: tile
grid: GLOBAL_WEBMERCATOR
url: http://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png
osmTopo_tiles:
type: tile
grid: GLOBAL_WEBMERCATOR
url: https://b.tile.opentopomap.org/%(z)s/%(x)s/%(y)s.png
globals: