How to verify and update GDB transit lines based on the modified highway network?


This tool provides an extension to the tool provided here for .lin text files that can be used to verify and update transit lines when stored as GDB datasets, due to changes in the HW network that are causing the transit layer to be out of sync. 

communities.bentley.com/.../PT_5F00_Transit_5F00_Lines_5F00_Update_5F00_gdb.zip

After selecting your inputs and running the tool, you need to proceed as follows to restore the transit dataset in the GDB:

1. Through Data Manager, import the final .lin file ({SCENARIO_DIR}\FinTransitLinksUpd.lin) into the GDB, sync to the right HW network

2. IMPORTANT: update number decimals to 2 after importing the lin file:
2.1. Under File > Options > NET/GIS, the "Use default DBF editor" should NOT be selected
2.2. Open Data Manager
2.3. Click "Add Data" and select the *.GDB
2.4. Select the Transit Network just created and expand the Cube Dataset
2.5. Right-click on the PT Feature Class to be updated and select "Open Table"
2.6. Right-click on the attribute to be rounded and select "Compute"
2.7. In the Python expression type (for example, for DWELL, but repeat for any needed column) "round(!DWELL!,2)"
2.8. Click on "calculate"