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