-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
If I follow the instructions for user-specified YAML config from the README, i.e. create the suggested my_services.yaml and then run
python mapshader/flask_app.py -f my_services.yaml
I get
File "/home/iant/github/mapshader/mapshader/services.py", line 242, in parse_sources
for service_type in source['service_types']:
KeyError: 'service_types'
If I add the following to my_services.yaml (I am guessing here)
sources:
- name: Elevation
<existing lines>
service_types:
- tile
then I get passed the previous error but see
AssertionError: View function mapping is overwriting an existing endpoint function: Elevation tile
This occurs with both master and the 0.0.9 release.
So there is some inconsistency between the code and the README.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels