diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-06-08 00:54:56 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-06-09 17:28:12 +0200 |
commit | 681c3d11b4fc02c416467d074ef0b4d84bf0cdab (patch) | |
tree | 8bfb7cfb133ae5ea3fbecf2efeef23802d39731b /webmap-download | |
parent | b29079ab12087f3fdd1cbbd209e205f205aaf267 (diff) |
config.yml: Allow configuration setting at the layer root.
We'll need that for layer creation (description, fields, creation
options, etc.).
Diffstat (limited to 'webmap-download')
-rwxr-xr-x | webmap-download | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-download b/webmap-download index 2724951..a4a6413 100755 --- a/webmap-download +++ b/webmap-download @@ -162,7 +162,7 @@ if __name__ == '__main__': sources = [] for name, layerdefs in common.config.get('layers', {}).items(): - for layerdef in layerdefs: + for layerdef in layerdefs['sources']: sourcedef = layerdef.get('source', {}) sourcedef['layername'] = name sources.append(sourcedef) |