Skip to content

Instantly share code, notes, and snippets.

@zabop
Created November 12, 2024 17:50
Show Gist options
  • Save zabop/df6a14834e9753c0f2ad01b5cf516b70 to your computer and use it in GitHub Desktop.
Save zabop/df6a14834e9753c0f2ad01b5cf516b70 to your computer and use it in GitHub Desktop.
%%writefile mapproxy.yaml
# Launch via: mapproxy-util serve-develop mapproxy.yaml
# Add this GetCapabilities link to QGIS: http://127.0.0.1:8080/service
services:
wms:
md:
title: "WebAtlas Ortho WMS"
abstract: "WMS service for WebAtlas orthophoto tiles"
srs: ["EPSG:3857"]
image_formats: ["image/jpeg"]
demo:
layers:
- name: webatlas_orto
title: WebAtlas Ortho Tiles
sources: [webatlas_orto_cache]
caches:
webatlas_orto_cache:
grids: [global_webmercator]
sources: [webatlas_orto_source]
sources:
webatlas_orto_source:
type: tile
url: https://waapi.webatlas.no/maptiles/tiles/webatlas-orto-newup/wa_grid/%(z)d/%(x)d/%(y)d.jpeg?api_key=b8e36d51-119a-423b-b156-d744d54123d5
grid: global_webmercator
grids:
global_webmercator:
base: GLOBAL_WEBMERCATOR
globals:
cache:
base_dir: "./cache_data"
lock_dir: "./cache_data/locks"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment