From 630c9a4958bf1b01d5e2dd885de9058827f51a57 Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Tue, 15 May 2018 17:09:59 +0100 Subject: [PATCH] Add admin areas. We've hardcoded a bunch of layer names in here, which isn't great. We should come back at a later date to make that more configurable. Until then, this just extends the list to include the new entry. --- tilequeue/process.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tilequeue/process.py b/tilequeue/process.py index 5ab6fac1..94063c9e 100644 --- a/tilequeue/process.py +++ b/tilequeue/process.py @@ -534,6 +534,7 @@ def convert_source_data_to_feature_layers(rows, layer_data, bounds, zoom): roads=row.pop('__roads_properties__', None), transit=row.pop('__transit_properties__', None), water=row.pop('__water_properties__', None), + admin_areas=row.pop('__admin_areas_properties__', None), ) # TODO at first pass, simulate the structure that we're