Add Survival Source
This commit is contained in:
parent
d92456cdae
commit
07cb6b4846
@ -300,6 +300,10 @@ export const buildingAttributesConfig = valueType<DataFieldConfig>()({ /* eslint
|
||||
edit: true,
|
||||
verify: true
|
||||
},
|
||||
survival_source: {
|
||||
edit: true,
|
||||
verify: true
|
||||
},
|
||||
likes_total: {
|
||||
edit: false,
|
||||
derivedEdit: true,
|
||||
|
@ -133,6 +133,14 @@ const LAYER_QUERIES = {
|
||||
buildings
|
||||
WHERE
|
||||
survival_status IS NOT NULL`,
|
||||
survival_source: `
|
||||
SELECT
|
||||
geometry_id,
|
||||
survival_source
|
||||
FROM
|
||||
buildings
|
||||
WHERE
|
||||
survival_source IS NOT NULL`,
|
||||
likes: `
|
||||
SELECT
|
||||
geometry_id,
|
||||
|
@ -57,7 +57,8 @@ COPY (SELECT
|
||||
is_domestic,
|
||||
community_type_worth_keeping_total,
|
||||
likes_total,
|
||||
survival_status
|
||||
survival_status,
|
||||
survival_source
|
||||
FROM buildings)
|
||||
TO '/tmp/building_attributes.csv'
|
||||
WITH CSV HEADER
|
||||
|
Loading…
Reference in New Issue
Block a user