Skip to content

Commit

Permalink
reproject cached data to BC albers on load
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Dec 17, 2024
1 parent 500d9a5 commit 63214ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/load_monthly
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jq -c '.[]' bcgw_sources.json | while read item; do
ogr2ogr -f PostgreSQL \
"PG:$DATABASE_URL" \
--config OGR_TRUNCATE=YES \
-s_srs EPSG:4326 \
-t_srs EPSG:3005 \
-append \
-nln $source \
/vsis3/bchamp/bcdata/$source.parquet \
Expand Down
2 changes: 2 additions & 0 deletions jobs/load_weekly
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jq -c '.[]' bcgw_sources.json | while read item; do
ogr2ogr -f PostgreSQL \
"PG:$DATABASE_URL" \
--config OGR_TRUNCATE=YES \
-s_srs EPSG:4326 \
-t_srs EPSG:3005 \
-append \
-nln $source \
/vsis3/bchamp/bcdata/$source.parquet \
Expand Down

0 comments on commit 63214ba

Please sign in to comment.