[MapProxy] Dimension range or regex

Jaime Valdez jvaldezch at gmail.com
Wed Feb 28 12:24:16 PST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180228/346a596f/attachment.html>


More information about the MapProxy mailing list