Ticket #165 (closed enhancement: done)
Convert CMS ID's to District 12 numbering scheme
| Reported by: | jdalbey | Owned by: | tanmay |
|---|---|---|---|
| Priority: | High | Milestone: | Sep 2019 Training |
| Component: | CPTMS | Version: | |
| Severity: | Minor | Keywords: | |
| Cc: | jdalbey |
Description
Attached is the data file containing CMS locations used in CPTMS. Currently the CMS ID's shown in CPTMS are those obtained from the CalTrans CWWP. They need to be converted to a numbering scheme used in District 12. The mapping from current ID to D12 number is provided in an attached file "CMS ID conversion.csv". (The last column is the D12 number). There are about 64 ID's to be converted.
The deliverable is a copy of the original CMS location json file where the ID's have been replaced by their D12 equivalent.
While this task could be performed manually, there is a high chance for data entry error. A better approach is to write a script to automatically perform the conversion. One strategy is to edit the csv file and turn it into a sequence of sed commands.
Attachments
Change History
Changed 7 years ago by jdalbey
-
attachment
cms_locations_D12.gjson
added
Changed 7 years ago by jdalbey
-
attachment
CMS ID conversion.csv
added
File that maps CMS ID into D12 numbering
Changed 7 years ago by jdalbey
-
attachment
CMSsubstitutes.sh
added
sed commands to do the conversion (except #52)

CMS locations file (original)