diff --git a/.vscode/settings.json b/.vscode/settings.json index aea395f..f6ff041 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,6 +2,8 @@ "python-envs.defaultEnvManager": "ms-python.python:conda", "cSpell.words": [ "ACCESSCODE", + "ALTROADNAME", + "ALTROADTYPE", "arcgispro", "arcpy", "boxelder", @@ -25,12 +27,18 @@ "pytest", "pythonpath", "recents", + "ROADALIASNAME", "saltlake", + "Sevier", "SRFTYP", "STREETNAME", + "SUFDIR", + "SUFFIXDIR", "testpaths", "TOADDR", + "Tooele", "UGRC", + "Uintah", "utrans", "UTRANS", "vecc" @@ -42,6 +50,18 @@ "/^dotnet build add-in\\\\UGRC\\.UtransTools\\\\UGRC\\.UtransTools\\.csproj --no-restore$/": { "approve": true, "matchCommandLine": true + }, + "/^conda activate utrans-tools$/": { + "approve": true, + "matchCommandLine": true + }, + "/^conda activate utrans-tools; pytest[^;]*$/": { + "approve": true, + "matchCommandLine": true + } + "/^conda activate utrans-tools; ruff/": { + "approve": true, + "matchCommandLine": true } }, "[csharp]": { diff --git a/README.md b/README.md index 254b31e..4056c98 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -# UTrans Tools +# UTRANS Tools -Tools for working with UTrans data +Tools for working with UTRANS data ## CLI -This is a Python CLI tool for processing county-submitted data prior to ingestion into UTrans. See its [README](cli/README.md) for installation, usage, and release instructions. +This is a Python CLI tool for processing county-submitted data prior to ingestion into UTRANS. See its [README](cli/README.md) for installation, usage, and release instructions. ## ArcGIS Pro Add-in -This is an ArcGIS Pro Add-in for working with UTrans data. See its [README](add-in/README.md) for installation, usage, and release instructions. +This is an ArcGIS Pro Add-in for working with UTRANS data. See its [README](add-in/README.md) for installation, usage, and release instructions. ## Data Flow -The following diagram shows the flow of data from the county into UTrans. +The following diagram shows the flow of data from the county into UTRANS. ```mermaid flowchart TD diff --git a/add-in/README.md b/add-in/README.md index 53ce0b8..1b4b468 100644 --- a/add-in/README.md +++ b/add-in/README.md @@ -1,10 +1,10 @@ -# UTrans Tools ArcGIS Pro Add-In +# UTRANS Tools ArcGIS Pro Add-In ## Usage ### Adding New Features -Use **Add New** to copy an unlinked new record or records from `DFC_RESULT` into the UTrans roads layer. +Use **Add New** to copy an unlinked new record or records from `DFC_RESULT` into the UTRANS roads layer. 1. In the map, select one or more unlinked records in the `DFC_RESULT` layer. A record is eligible when its change type is `N` and its `BASE_FID` is `-1`. 2. Review or update the road attributes shown in the editor. When multiple records are selected, the values are used for each new road. @@ -12,7 +12,7 @@ Use **Add New** to copy an unlinked new record or records from `DFC_RESULT` into When multiple features are selected, the form values override the county-road values for `CARTOCODE`, `ONEWAY`, `VERT_LEVEL`, `SPEED_LMT`, and `STATUS`. Review these values before clicking **Add New** because the same editor values are applied to every new road. -The add-in creates a UTrans road using each selected county-road geometry and attributes, links the `DFC_RESULT` record to the new road, and marks the DFC disposition as `COMPLETED`. The map selections are cleared after the operation finishes. +The add-in creates a UTRANS road using each selected county-road geometry and attributes, links the `DFC_RESULT` record to the new road, and marks the DFC disposition as `COMPLETED`. The map selections are cleared after the operation finishes. ## Developer Set Up diff --git a/add-in/UGRC.UtransTools/Config.daml b/add-in/UGRC.UtransTools/Config.daml index 03eea27..3107f22 100644 --- a/add-in/UGRC.UtransTools/Config.daml +++ b/add-in/UGRC.UtransTools/Config.daml @@ -6,7 +6,7 @@ xsi:schemaLocation="http://schemas.esri.com/DADF/Registry file:///C:/Program%20Files/ArcGIS/Pro/bin/ArcGIS.Desktop.Framework.xsd"> - UGRC_UtransTools + UGRC_UtransTools UGRC_UtransTools description Images\AddinDesktop32.png stdavis @@ -18,36 +18,36 @@ - + - + - +