add create_new_building_records
This commit is contained in:
parent
ee09491dfe
commit
81d8b1ef51
9
etl/create_new_building_records.sh
Normal file
9
etl/create_new_building_records.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# Create corresponding 'building' record with
|
||||
# id: <building-guid>,
|
||||
# doc: {},
|
||||
# geom_id: <polygon-guid>
|
||||
#
|
||||
psql -c "INSERT INTO buildings ( geometry_id, ref_toid ) SELECT geometry_id, source_id from new_geometries;"
|
Loading…
Reference in New Issue
Block a user