diff --git a/jobs/whse_basemapping.transport_line b/jobs/whse_basemapping.transport_line index d07d90a5..46808db3 100755 --- a/jobs/whse_basemapping.transport_line +++ b/jobs/whse_basemapping.transport_line @@ -10,6 +10,7 @@ PSQL="psql $DATABASE_URL -v ON_ERROR_STOP=1" ogr2ogr \ -f PostgreSQL \ "PG:$DATABASE_URL" \ + --config PG_USE_COPY YES \ -lco GEOMETRY_NAME=geom \ -lco FID=transport_line_id \ -nln bcdata.transport_line \ diff --git a/jobs/whse_cadastre.pmbc_parcel_fabric_poly_svw b/jobs/whse_cadastre.pmbc_parcel_fabric_poly_svw index c92d5f33..607154f4 100755 --- a/jobs/whse_cadastre.pmbc_parcel_fabric_poly_svw +++ b/jobs/whse_cadastre.pmbc_parcel_fabric_poly_svw @@ -20,6 +20,7 @@ ogr2ogr \ PG:$DATABASE_URL \ -lco GEOMETRY_NAME=geom \ -lco FID=PARCEL_FABRIC_POLY_ID \ + -overwrite \ -nln bcdata.pmbc_parcel_fabric_poly_svw \ /tmp/pmbc_parcel_fabric_poly_svw.gdb.zip \ pmbc_parcel_fabric_poly_svw