[MapProxy] Dimension range or regex

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[MapProxy] Dimension range or regex

Jaime Valdez
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 

_______________________________________________
MapProxy mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapproxy