Add requires to 2 layer definitions (#797)

Mark waterway and transoprtation_name as having a dependency on another layer.
This is currently an unused parameter, but tools will use it later for faster
sql code generation.

Closes #796
This commit is contained in:
Yuri Astrakhan
2020-04-21 12:36:44 -04:00
committed by GitHub
parent b850819218
commit 0683185717
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
layer:
id: "transportation_name"
# transportation_name relies on the function highway_class() defined in transportation layer
requires: "transportation"
description: |
This is the layer for labelling the highways. Only highways that are named `name=*` and are long enough
to place text upon appear. The OSM roads are stitched together if they contain the same name