Created
April 10, 2019 10:52
-
-
Save arbakker/fa0d2e819402b288eb8f11624c1364f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------- | |
# MapProxy configuration for debugging getfeatureinfo feature_count issue | |
# ------------------------------- | |
# 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: | |
kvp: true | |
restful: true | |
featureinfo_formats: | |
- mimetype: application/gml+xml; version=3.1 | |
suffix: gml | |
- mimetype: application/vnd.ogc.gml | |
suffix: gml | |
- mimetype: text/html | |
suffix: html | |
- mimetype: text/plain | |
suffix: text | |
- mimetype: application/json | |
suffix: json | |
- mimetype: text/xml | |
suffix: xml | |
wms: | |
md: | |
title: MapProxy WMS Proxy | |
abstract: This is a minimal MapProxy example. | |
layers: | |
- name: cbs_buurten_2018 | |
title: CBS Buurten 2018 | |
sources: [wb_cache] | |
caches: | |
wb_cache: | |
grids: ['EPSG:28992'] | |
sources: [wb_wms] | |
sources: | |
osm_wms: | |
type: wms | |
req: | |
url: https://maps.omniscale.net/v2/demo/style.default/service? | |
layers: osm | |
wb_wms: | |
type: wms | |
supported_srs: ['EPSG:28992'] | |
wms_opts: | |
featureinfo: true | |
req: | |
url: https://geodata.nationaalgeoregister.nl/wijkenbuurten2018/wms? | |
layers: cbs_buurten_2018 | |
grids: | |
'EPSG:28992': | |
tile_size: [256, 256] | |
origin: nw | |
srs: 'EPSG:28992' | |
bbox: [-285401.920, 22598.080, 595401.920, 903401.920] | |
bbox_srs: 'EPSG:28992' | |
res: [3440.64, 1720.32, 860.16, 430.08, 215.04, 107.52, 53.76, 26.88, 13.44, 6.72, 3.36, 1.68, 0.84, 0.42, 0.21, 0.105, 0.0525] | |
globals: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment