From d40410e0fab77899e2ce9ffa7d28a2150cf19742 Mon Sep 17 00:00:00 2001 From: Mike Simpson Date: Wed, 31 May 2023 21:09:01 +0100 Subject: [PATCH] Add new fields to export_attributes.sql --- .../extract_data/export_attributes.sql | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/maintenance/extract_data/export_attributes.sql b/maintenance/extract_data/export_attributes.sql index 6b0825b5..b874f26c 100644 --- a/maintenance/extract_data/export_attributes.sql +++ b/maintenance/extract_data/export_attributes.sql @@ -78,7 +78,36 @@ COPY (SELECT disaster_assessment_method, disaster_source_link, disaster_start_date, - disaster_end_date + disaster_end_date, + size_far_ratio, + size_far_ratio_source_type, + size_far_ratio_source_links, + size_plot_area_total, + size_plot_area_total_source_type, + size_plot_area_total_source_links, + size_parcel_geometry, + size_parcel_geometry_source_type, + size_parcel_geometry_source_links, + context_front_garden, + context_back_garden, + context_flats_garden, + context_garden_source_type, + context_garden_source_type, + context_street_width, + context_street_width_source_type, + context_street_width_source_links, + context_pavement_width, + context_pavement_width_source_type, + context_pavement_width_source_links, + context_street_geometry, + context_street_geometry_source_type, + context_street_geometry_source_links, + context_green_space_distance, + context_green_space_distance, + context_green_space_distance_source_links, + context_tree_distance, + context_tree_distance_source_type, + ccontext_tree_distance_source_links FROM buildings) TO '/tmp/building_attributes.csv' WITH CSV HEADER