Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tlaitinen/7b59b8aa125c40f15f00a428fe5c1f04 to your computer and use it in GitHub Desktop.

Select an option

Save tlaitinen/7b59b8aa125c40f15f00a428fe5c1f04 to your computer and use it in GitHub Desktop.
services:
demo:
tms:
kml:
use_grid_names: true
wmts:
wms:
md:
title: MML Maps
abstract:
layers:
- name: mml_taustakartta
title: MML Taustakartta
sources: [mml_taustakartta_cache]
- name: mml_maastokartta
title: MML Maastokartta
sources: [mml_maastokartta_cache]
- name: mml_peruskartta
title: MML Peruskartta
sources: [mml_peruskartta_cache]
- name: mml_ortokuva
title: MML Ortokuva
sources: [mml_ortokuva_cache]
caches:
mml_taustakartta_cache:
grids: [EPSG_3067]
sources: [mml_taustakartta_wms]
format: image/png
link_single_color_images: false
minimize_meta_requests: true
disable_storage: false
cache:
type: file
mml_maastokartta_cache:
grids: [EPSG_3067]
sources: [mml_maastokartta_wms]
format: image/png
link_single_color_images: false
minimize_meta_requests: true
disable_storage: false
cache:
type: file
mml_peruskartta_cache:
grids: [EPSG_3067]
sources: [mml_peruskartta_wms]
format: image/png
link_single_color_images: false
minimize_meta_requests: true
disable_storage: false
cache:
type: file
mml_ortokuva_cache:
grids: [EPSG_3067]
sources: [mml_ortokuva_wms]
format: image/jpeg
link_single_color_images: false
minimize_meta_requests: true
disable_storage: false
cache:
type: file
sources:
mml_taustakartta_wms:
type: wms
coverage:
bbox: [-76000, 6570000, 884000, 7818000]
srs: 'EPSG:3067'
supported_srs: ['EPSG:3067']
http:
ssl_ca_certs: /etc/ssl/certs/ca-certificates.crt
req:
url: https://USERNAME:[email protected]/rasteriaineistot/image?
layers: taustakartta
mml_maastokartta_wms:
type: wms
coverage:
bbox: [-76000, 6570000, 884000, 7818000]
srs: 'EPSG:3067'
supported_srs: ['EPSG:3067']
http:
ssl_ca_certs: /etc/ssl/certs/ca-certificates.crt
req:
url: https://USERNAME:[email protected]/rasteriaineistot/image?
layers: maastokartta
mml_peruskartta_wms:
type: wms
coverage:
bbox: [-76000, 6570000, 884000, 7818000]
srs: 'EPSG:3067'
supported_srs: ['EPSG:3067']
http:
ssl_ca_certs: /etc/ssl/certs/ca-certificates.crt
req:
url: https://USERNAME:[email protected]/rasteriaineistot/image?
layers: peruskartta
mml_ortokuva_wms:
type: wms
coverage:
bbox: [-76000, 6570000, 884000, 7818000]
srs: 'EPSG:3067'
supported_srs: ['EPSG:3067']
http:
ssl_ca_certs: /etc/ssl/certs/ca-certificates.crt
req:
url: https://USERNAME:[email protected]/rasteriaineistot/image?
layers: ortokuva
grids:
EPSG_3067:
origin: nw
srs: EPSG:3067
bbox: [-548576.0, 6291456.0, 1548576.0, 8388608]
bbox_srs: 'EPSG:3067'
tile_size: [256, 256]
res: [8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5, 0.25, 0.125, 0.0625, 0.03125, 0.015625]
webmercator:
base: GLOBAL_WEBMERCATOR
globals:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment