Context
Our current tegola config that is used in the helm charts is just a copy of the tm2 source we use in kartotherian just to simply run tegola with the current DB schema.
As part of the improvements we are planning to simplify this by using an SQL function per layer so all the logic and helpers are maintained in the PostgreSQL level.
Here is some work in progress: https://github.com/wikimedia/maps-config
Acceptance criteria:
- Migrate tegola config to use the new query structure