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,
|
|
|
|
location_number,
|
|
|
|
location_street,
|
|
|
|
location_line_two,
|
|
|
|
location_town,
|
|
|
|
location_postcode,
|
|
|
|
location_latitude,
|
|
|
|
location_longitude,
|
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,
|
|
|
|
size_height_apex,
|
|
|
|
size_floor_area_ground,
|
|
|
|
size_floor_area_total,
|
|
|
|
size_width_frontage,
|
2019-10-03 01:29:26 -04:00
|
|
|
sust_breeam_rating,
|
|
|
|
sust_dec,
|
|
|
|
sust_retrofit_date,
|
2019-08-29 08:17:09 -04:00
|
|
|
planning_portal_link,
|
|
|
|
planning_in_conservation_area,
|
|
|
|
planning_conservation_area_name,
|
|
|
|
planning_in_list,
|
|
|
|
planning_list_id,
|
2019-10-02 10:03:54 -04:00
|
|
|
planning_list_cat,
|
|
|
|
planning_list_grade,
|
2019-08-29 08:17:09 -04:00
|
|
|
planning_heritage_at_risk_id,
|
|
|
|
planning_world_list_id,
|
|
|
|
planning_in_glher,
|
|
|
|
planning_glher_url,
|
|
|
|
planning_in_apa,
|
|
|
|
planning_apa_name,
|
|
|
|
planning_apa_tier,
|
|
|
|
planning_in_local_list,
|
|
|
|
planning_local_list_url,
|
|
|
|
planning_in_historic_area_assessment,
|
2019-10-03 01:29:26 -04:00
|
|
|
planning_historic_area_assessment_url,
|
|
|
|
likes_total
|
2019-10-02 10:03:54 -04:00
|
|
|
FROM buildings)
|
|
|
|
TO '/tmp/building_attributes.csv'
|
|
|
|
WITH CSV HEADER
|