You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there a way to "send" an own parameter to tessera?
In my case do i run weathermaps with multiple layers of same variable with different hour-number, like temperature_2. So i'm looking for a way to have only one definition for temperature in the config file instead of needing to define it say 72 times where the only difference would be only that hour-number (and same for all other variables).
Something like:
That's a great idea. My first instinct would be to implement a custom (but very simple) tilelive module to handle the dynamic configuration files, but there's no way to handle prefixes (the hour number). My second would be to build a custom tile server similar to either https://github.com/stamen/sm2 or https://github.com/fieldpapers/fp-tiler.
However, this is straightforward and flexible enough that I think it does belong in core.
Slightly refined proposed syntax (so it's clear where hour could come from):
Are there a way to "send" an own parameter to tessera?
In my case do i run weathermaps with multiple layers of same variable with different hour-number, like temperature_2. So i'm looking for a way to have only one definition for temperature in the config file instead of needing to define it say 72 times where the only difference would be only that hour-number (and same for all other variables).
Something like:
"/temperature":{
"source": "mapnik:///home/node/temperature_{{hour}}.xml",
"cors": true
}
In Leaflet could it then be setup like:
/tilelive/temperature/2/{z}/{x}/{y}.png
The text was updated successfully, but these errors were encountered: