colouring-montreal/maintenance/extract_data/export_attributes.sql

71 lines
1.7 KiB
MySQL
Raw Normal View History

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,
current_landuse_group,
current_landuse_order,
building_attachment_form,
date_change_building_use,
2019-08-29 08:17:09 -04:00
date_year,
date_lower,
date_upper,
date_source,
date_source_detail,
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,
sust_breeam_rating,
sust_dec,
sust_retrofit_date,
construction_core_material,
construction_secondary_materials,
construction_roof_covering,
2019-08-29 08:17:09 -04:00
planning_portal_link,
planning_in_conservation_area_id,
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,
planning_list_cat,
planning_list_grade,
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,
planning_in_apa_url,
2019-08-29 08:17:09 -04:00
planning_local_list_url,
planning_historic_area_assessment_url,
is_domestic,
2023-02-07 04:31:43 -05:00
community_type_worth_keeping_total,
likes_total,
2023-04-06 10:21:59 -04:00
survival_status,
survival_source,
disaster_type,
disaster_severity,
disaster_assessment_method,
2023-04-21 08:41:03 -04:00
disaster_source_link,
disaster_start_date,
disaster_end_date
FROM buildings)
TO '/tmp/building_attributes.csv'
WITH CSV HEADER