2019-10-02 10:03:54 -04:00
|
|
|
COPY (SELECT
|
2019-08-29 08:17:09 -04:00
|
|
|
building_id,
|
|
|
|
ref_toid,
|
|
|
|
ref_osm_id,
|
|
|
|
revision_id,
|
|
|
|
location_name,
|
2023-06-27 14:39:19 -04:00
|
|
|
location_name_link,
|
2019-08-29 08:17:09 -04:00
|
|
|
location_number,
|
|
|
|
location_street,
|
|
|
|
location_line_two,
|
|
|
|
location_town,
|
|
|
|
location_postcode,
|
2023-05-19 06:55:32 -04:00
|
|
|
location_address_source,
|
|
|
|
location_address_links,
|
2019-08-29 08:17:09 -04:00
|
|
|
location_latitude,
|
|
|
|
location_longitude,
|
2023-06-27 14:47:40 -04:00
|
|
|
location_alternative_footprint_links
|
2020-01-19 13:31:10 -05:00
|
|
|
current_landuse_group,
|
|
|
|
current_landuse_order,
|
2019-10-03 01:29:26 -04:00
|
|
|
building_attachment_form,
|
2020-01-19 13:31:10 -05:00
|
|
|
date_change_building_use,
|
2019-08-29 08:17:09 -04:00
|
|
|
date_year,
|
|
|
|
date_lower,
|
|
|
|
date_upper,
|
|
|
|
date_source,
|
|
|
|
date_source_detail,
|
2019-10-02 10:03:54 -04:00
|
|
|
date_link,
|
2019-08-29 08:17:09 -04:00
|
|
|
facade_year,
|
|
|
|
facade_upper,
|
|
|
|
facade_lower,
|
|
|
|
facade_source,
|
|
|
|
facade_source_detail,
|
|
|
|
size_storeys_attic,
|
|
|
|
size_storeys_core,
|
|
|
|
size_storeys_basement,
|
2023-05-23 16:27:45 -04:00
|
|
|
size_storeys_source_type,
|
|
|
|
size_storeys_source_links,
|
2019-08-29 08:17:09 -04:00
|
|
|
size_height_apex,
|
2023-05-23 16:27:45 -04:00
|
|
|
size_height_apex_source_type,
|
|
|
|
size_height_apex_source_links,
|
|
|
|
size_height_eaves,
|
|
|
|
size_height_eaves_source_type,
|
|
|
|
size_height_eaves_source_links,
|
2019-08-29 08:17:09 -04:00
|
|
|
size_floor_area_ground,
|
|
|
|
size_floor_area_total,
|
2023-05-23 16:27:45 -04:00
|
|
|
size_floor_area_source_type,
|
|
|
|
size_floor_area_source_links,
|
2019-08-29 08:17:09 -04:00
|
|
|
size_width_frontage,
|
2019-10-03 01:29:26 -04:00
|
|
|
sust_breeam_rating,
|
|
|
|
sust_dec,
|
|
|
|
sust_retrofit_date,
|
2020-04-01 07:18:19 -04:00
|
|
|
construction_core_material,
|
|
|
|
construction_secondary_materials,
|
|
|
|
construction_roof_covering,
|
2019-08-29 08:17:09 -04:00
|
|
|
planning_portal_link,
|
2022-10-03 02:53:57 -04:00
|
|
|
planning_in_conservation_area_id,
|
2022-09-20 04:34:22 -04:00
|
|
|
planning_in_conservation_area_url,
|
|
|
|
planning_in_conservation_area_source_url,
|
2019-08-29 08:17:09 -04:00
|
|
|
planning_conservation_area_name,
|
|
|
|
planning_in_list,
|
|
|
|
planning_list_id,
|
2019-10-02 10:03:54 -04:00
|
|
|
planning_list_cat,
|
|
|
|
planning_list_grade,
|
2022-09-20 04:34:22 -04:00
|
|
|
planning_heritage_at_risk_url,
|
2022-09-24 06:37:58 -04:00
|
|
|
planning_world_list_id,
|
2019-08-29 08:17:09 -04:00
|
|
|
planning_glher_url,
|
2022-09-20 04:34:22 -04:00
|
|
|
planning_in_apa_url,
|
2019-08-29 08:17:09 -04:00
|
|
|
planning_local_list_url,
|
2019-10-03 01:29:26 -04:00
|
|
|
planning_historic_area_assessment_url,
|
2023-02-02 06:58:44 -05:00
|
|
|
is_domestic,
|
2023-05-19 06:55:32 -04:00
|
|
|
is_domestic_source,
|
|
|
|
is_domestic_links,
|
2023-02-07 04:31:43 -05:00
|
|
|
community_type_worth_keeping_total,
|
2023-04-05 10:13:48 -04:00
|
|
|
likes_total,
|
2023-04-06 10:21:59 -04:00
|
|
|
survival_status,
|
2023-04-17 16:48:21 -04:00
|
|
|
survival_source,
|
2023-05-23 16:27:45 -04:00
|
|
|
survival_source_links,
|
2023-04-17 16:48:21 -04:00
|
|
|
disaster_type,
|
|
|
|
disaster_severity,
|
|
|
|
disaster_assessment_method,
|
2023-04-21 08:41:03 -04:00
|
|
|
disaster_source_link,
|
|
|
|
disaster_start_date,
|
2023-05-31 16:09:01 -04:00
|
|
|
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,
|
2023-05-31 16:36:53 -04:00
|
|
|
context_tree_distance_source_links,
|
|
|
|
age_cladding_date,
|
|
|
|
age_cladding_date_source_type,
|
|
|
|
age_cladding_date_source_links,
|
|
|
|
age_extension_date,
|
|
|
|
age_extension_date_source_type,
|
|
|
|
age_extension_date_source_links,
|
|
|
|
age_retrofit_date,
|
|
|
|
age_retrofit_date_source_type,
|
|
|
|
age_retrofit_date_source_links,
|
2019-10-02 10:03:54 -04:00
|
|
|
FROM buildings)
|
|
|
|
TO '/tmp/building_attributes.csv'
|
|
|
|
WITH CSV HEADER
|