Discussion:
[MapProxy] Dimension range or regex
Jaime Valdez
2018-02-28 20:24:16 UTC
Permalink
Hi Mapproxy users:

I was wonder if there is a way to handle dimensions more easily without
having to list all possible options. I'm sending some parameters to my WMS
so I can have access to a huge archive of images.

layers:
- name: nsst
title: CONABIO Pysimar WMTS
sources: [pysimar_cache]
dimensions:
level:
values:
- "L3m"
day:
values:
- "001"
- "002"
- "003"
- "004"
- "005"
- "006"
year:
values:
- "2012"
- "2013"
- "2014"
- "2015"
- "2016"
- "2017"
- "2018"
- "2019"
- "2020"

caches:
pysimar_cache:
grids: [gmaps_grid]
sources: [pysimar_wms]
disable_storage: true
cache:
type: sqlite
directory: /tmp/cache

sources:
pysimar_wms:
type: wms
req:
layers: raster
url: http://127.0.0.1:8085/cgi-bin/mapserv?map=TNSST&mode=map&layer=raster
transparent: true

Thanks,
---
JAIME E. VALDEZ

Loading...