[MapProxy] how to update dimension definition dynamically?

Daniel Teske daniel.teske at gmail.com
Wed Apr 15 03:04:58 PDT 2015


Hi Oliver,

thats okay me. So when I unterstand you right I can exclude the dimension
part
values:
  - "2012-11-12T00:00:00"
  - "2012-11-13T00:00:00"
  - "2012-11-14T00:00:00"
  - "2012-11-15T00:00:00"
default:
  2012-11-15T00:00:00
as temperature_time.yaml and keep that via scripts in sync with the data.

and include it like
layers:
  - name: temperature
    title: Temperature
    sources: [temperature]
    dimensions:
      time: [temperature_time]

Thanks and best regards,
Tee


2015-04-15 11:24 GMT+02:00 Oliver Tonnhofer <olt at omniscale.de>:

>
>
> > On 14.04.2015, at 14:03, Daniel Teske <daniel.teske at gmail.com> wrote:
> >
> > Hi list,
> >
> > I want to set up a WMTS-T which updates its data on a hourly base. So I
> want to change the list of available time values and of the default value
> of course dynamically.
> >
> > How can I achieve that?
>
> It’s not possible to automate that within MapProxy itself. You need to
> write a script that writes an updated configuration every hour.
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
> OpenStreetMap WMS and tile services         | http://maps.omniscale.com
>
>
>


-- 
Daniel Teske
Borgmannstr. 7
12555 Berlin
Tel: 030-66766796
Mobil: 0176-24638767
eMail: daniel.teske at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150415/53dfd75e/attachment.html>


More information about the MapProxy mailing list