#!/usr/bin/env bash # # Create corresponding 'building' record with # id: , # doc: {}, # geom_id: # psql -c "INSERT INTO buildings ( geometry_id, ref_toid ) SELECT geometry_id, source_id FROM geometries;"