86 lines
2.6 KiB
YAML
86 lines
2.6 KiB
YAML
# -------------------------------
|
|
# 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:
|
|
- name: cogtest
|
|
title: COG Testing Layer
|
|
sources: [cogtest_cache]
|
|
- name: cogtest-color
|
|
title: COG Color Testing Layer
|
|
sources: [cogtestcolor_cache]
|
|
- name: osm
|
|
title: OSM
|
|
sources: [osm_cache]
|
|
- name: osmTopo
|
|
title: OSM Topo
|
|
sources: [osmTopo_cache]
|
|
|
|
caches:
|
|
cogtest_cache:
|
|
grids: [GLOBAL_WEBMERCATOR]
|
|
sources: [cogtest]
|
|
cogtestcolor_cache:
|
|
grids: [GLOBAL_WEBMERCATOR]
|
|
sources: [cogtestcolor]
|
|
osm_cache:
|
|
grids: [GLOBAL_WEBMERCATOR]
|
|
sources: [osm_tiles]
|
|
osmTopo_cache:
|
|
grids: [GLOBAL_WEBMERCATOR]
|
|
sources: [osmTopo_tiles]
|
|
|
|
sources:
|
|
cogtestcolor:
|
|
coverage:
|
|
bbox: [-9588062.0710,4451079.4345,-9565234.9894,4474013.5009]
|
|
srs: 'EPSG:3857'
|
|
grid: GLOBAL_WEBMERCATOR
|
|
transparent: true
|
|
type: tile
|
|
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'
|
|
grid: GLOBAL_WEBMERCATOR
|
|
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
|
|
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:
|