Skip to content

Commit

Permalink
Merge pull request #65 from bcgov/feature/SRIS-7
Browse files Browse the repository at this point in the history
correct layer-id, file references for hv site, and update fields description files
  • Loading branch information
vividroyjeong authored Aug 16, 2024
2 parents 540ffa1 + 9717e3e commit dbc9498
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agol_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def agol_items_overwrite():
_hv_lyr_overwrite_result = _hv_flc.manager.overwrite(constant.HIGH_VOLUME_CSV_FILE)
logging.info("Updated High Volume Receiving Site Feature Layer successfully:%s", json.dumps(_hv_lyr_overwrite_result))

logging.info('Adding Soil Relocation Receiving Site Feature Layer Fields Description...')
fields_desc_list = get_fields_desc_list(constant.RECEIVE_FIELDS_DESC_FILE)
search = _gis.content.search("id:" + RCV_LAYER_ID, item_type="Feature Layer")
logging.info('Adding High Volume Receiving Site Feature Layer Fields Description...')
fields_desc_list = get_fields_desc_list(constant.HIGH_VOLUME_FIELDS_CSV_FILE)
search = _gis.content.search("id:" + HV_LAYER_ID, item_type="Feature Layer")
add_layer_fields_desc(search, fields_desc_list)

def add_layer_fields_desc(search, fields_desc_list):
Expand Down
Binary file modified fields_description/high_volume_receiving_sites.xlsx
Binary file not shown.
Binary file modified fields_description/soil_relocation_receiving_sites.xlsx
Binary file not shown.
Binary file modified fields_description/soil_relocation_source_sites.xlsx
Binary file not shown.

0 comments on commit dbc9498

Please sign in to comment.