Skip to content

Commit

Permalink
#1044 update readme to add new layer
Browse files Browse the repository at this point in the history
  • Loading branch information
chmnata authored and gabrielwol committed Oct 7, 2024
1 parent 2e69d5f commit b021773
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gis/gccview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The GCC pipeline will be pulling multiple layers into the `gis_core` and `gis` s
|private_road|27|13|
|school|28|17|
|library|28|28|
|pavement_asset|2|36|

## Data Pipeline

Expand All @@ -92,7 +93,7 @@ In the DAG file, the arguments for each layer are stored in dictionaries called
## Adding new layers to GCC Puller DAG
1. Identify the mapserver_n and layer_id for the layer you wish to add. You can find COT transportation layers here: https://insideto-gis.toronto.ca/arcgis/rest/services/cot_geospatial2/FeatureServer, where mapserver_n is 2 and the layer_id is in brackets after the layer name.
2. Add a new entry to "bigdata_layers" or "ptc_layers" dictionaries in airflow's variable depending on the destination database.
3. If is_audited = True, you must also add a primary key for the new layer to "pk_dict" in the corresponding airflow variable.
3. If is_audited = True, you must also add a primary key for the new layer to "gcc_layers" in the corresponding airflow variable.

## Manually fetch layers

Expand Down

0 comments on commit b021773

Please sign in to comment.