Skip to content

Commit

Permalink
fix: move custom polygons before datasets that require polygons
Browse files Browse the repository at this point in the history
  • Loading branch information
evanp committed Apr 2, 2024
1 parent 2c8b0ef commit 713fd49
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions global-api/import_everything.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ psql -h $CC_GLOBAL_API_DB_HOST \
-f ./osm_geometry_import.sql
popd

# import custom polygons
pushd importer/custom_polygons
$python_cmd custom_polygon_importer.py \
--database_uri $DB_URI \
--zip_file_path "./Limites Ciudad-001.zip" \
--extract_to_path "./processed"
popd

# Import Carbon Monitor

pushd importer/carbon_monitor
Expand Down Expand Up @@ -120,11 +128,3 @@ psql -h $CC_GLOBAL_API_DB_HOST \
-d $CC_GLOBAL_API_DB_NAME \
-f ./import_datasource_seeder.sql
popd

# import custom polygons
pushd importer/custom_polygons
$python_cmd custom_polygon_importer.py \
--database_uri $DB_URI \
--zip_file_path "./Limites Ciudad-001.zip" \
--extract_to_path "./processed"
popd

0 comments on commit 713fd49

Please sign in to comment.