-
-
Save nachouve/2235347 to your computer and use it in GitHub Desktop.
Simple proxying of the Spanish PNOA service to get a WMS from their TMS
This file contains 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
services: | |
demo: | |
kml: | |
tms: | |
wmts: | |
wms: | |
srs: ['EPSG:900913', 'EPSG:4258'] | |
image_formats: ['image/jpeg', 'image/png'] | |
md: | |
title: PNOA MapProxy | |
abstract: This is the fantastic PNOA MapProxy. | |
online_resource: http://miserver/service | |
contact: | |
person: Fuckowski | |
position: Pito del Sereno | |
email: pitosereno@forlachos.es | |
access_constraints: | |
None | |
fees: 'None' | |
layers: | |
- name: pnoa_wms_local | |
title: PNOA WMS LOCAL | |
sources: [pnoa_cache_local] | |
- name: pnoa_tms | |
title: PNOA TMS | |
sources: [pnoa_tms_cache] | |
caches: | |
pnoa_tms_cache: | |
grids: [grid_pnoa_geodetic] | |
sources: [pnoa_tms] | |
request_format: image/jpeg | |
link_single_color_images: true | |
meta_size: [1,1] | |
meta_buffer: 0 | |
disable_storage: false | |
pnoa_cache_local: | |
grids: [grid_pnoa_geodetic,GLOBAL_MERCATOR] | |
sources: [pnoa_wms_local] | |
request_format: image/jpeg | |
link_single_color_images: true | |
meta_size: [1,1] | |
meta_buffer: 0 | |
disable_storage: false | |
sources: | |
pnoa_wms_local: | |
type: wms | |
supported_srs: ['EPSG:4258'] | |
req: | |
url: http://localhost/mapproxy/service | |
layers: pnoa_tms | |
format: 'image/jpeg' | |
transparent: false | |
pnoa_tms: | |
type: tile | |
url: http://www.idee.es/wms-c/PNOA/PNOA/PNOA/%(z)s/%(x)s/%(y)s.jpeg | |
grid: grid_pnoa_geodetic | |
grids: | |
grid_pnoa_geodetic: | |
base: GLOBAL_GEODETIC | |
srs: EPSG:4258 | |
tile_size: [256,256] | |
bbox: [-180, -90, 180, 90] | |
num_levels: 20 | |
min_res: 0.703125 | |
globals: | |
cache: | |
base_dir: '/mnt/datos/mapproxy_cache_data' | |
lock_dir: '/mnt/datos/mapproxy_cache_data/locks' | |
image: | |
resampling_method: nearest | |
http: | |
client_timeout: 120 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment