Data Upload

The Data Upload Functionality enables a user to upload a .zip file containing network, graphic, or bridge files. The user can also publish the uploaded files. The files are classified as network, graphic, or bridge files based on their extensions and are stored in corresponding locations. The uploaded .zip file is stored in blob format in the database along with the relevant information, such as file size, version, status, created user, created time, etc. The .zip file name should be in the proper format, and only one instance of a file can exist at any one time. This document illustrates the method of using the functionality and the various scenarios a user might face while using the functionality.

Note:  Use the Analysis Process functionality to upload a .zip file containing bridge analysis exes and its dependencies.

System Preferences

PREFID

SYSTEM PREFERENCE

VALUE

USE

260

UploadFileExtension

.zip

Mandatory Uploaded File Extension

261

DataLoaderTempFolder

C:\Super\Temp

Location of Temp Folder

262

DataLoaderNetworkFolder

C:\Super

Location of Folder containing Network

263

DataLoaderBridgeFolder

C:\Super\MD

Location of Folder Containing Bridge Files

264

DataLoaderGraphicFolder

C:\Inetpub\WWWroot\Super

Location of Folder Containing Graphic Files

265

RouteDataRegex

routenet[_](?'date'.+)

Regular Expression to Check Name format of Uploaded Route Data File

266

BridgeDataRegex

bridgedata[_](?'date'.+)

Regular Expression To Check Name format of Uploaded Bridge Data File

267

DataLoaderNetworkFileTypes

.net,.sp,.tbl,.kpt,.pdt,.rs1,.sia,.sqlite

Valid Extensions of Network Files

268

DataLoaderBridgeFileTypes

.lib,.ast,.ddr,.lis

Valid Extensions of Bridge Files

269

DataLoaderGraphicFileTypes

.awb,.awg,.awl,.aws,.awf,.awc,.csv,.xml

Valid Extensions of Graphic Files

275

MaxFileSize

262144000

Maximum File Size Permitted

287

MaxNoOfRecords

10

Maximum number of network or bridge files that can be uploaded.

 

Page Layout

 

The Data Upload Page consists of two grids, one with records of .zip files that contain route data and the other with the records of .zip files that contain bridge data. Each grid has a toolbar with four buttons namely:  Add a Record, Edit, Delete, and Publish.

The grid has 7 columns:

  1. Version:  The version is the file name.

  2. Status:  The status signifies the status of the uploaded file. It can have three values (Uploaded, Verified, and Published).

  3. Created User:  This column displays the name of the user who created the record.

  4. Created Time:  This column displays the creation time of the record.

  5. Updated User:  This column displays the name of the user who has last updated the record.

  6. Updated Time:  This column displays the time at which the record was updated.

  7. Comments:  This column displays comments contributed by the user.

Steps to Access Data Upload

  1. After Logging in, click on My Admin.

  2. On the left-hand side, in the System Maintenance section, click on Data Upload.

To Create a Record

To add a record, the file should meet the following criteria:

  1. Only files with .zip extension are allowed (refer to System Preferences on page 1).

  2. The filename should be in proper format (i.e., the route filename should be in the format:  routenet_’date’.zip format, and for bridge data, the filenames conform to:  bridgedata_’date’.zip.

  3. The date in filename should be in the format specific for the state (e.g., for Maryland, the date format is mm-dd-yyyy, whereas for Queensland, the date format is dd-mm-yyyy).

  4. The file size should not exceed the permissible file size. The permissible file size varies from state to state (refer to System Preferences on page 1).

  5. Adding duplicate records are not allowed; the .zip file to be uploaded must be unique.

The following are the steps to add a record:

  1. Click the Create button on the grid to which you wish to add a record.

A pop-up appears.

 

  1. Enter Comments in the field provided.

  2. Click the Select Files For Upload button then navigate to the file you wish to upload and double-click it.

  3. When the progress bar indicates that the upload is complete, click OK.

 

A message indicating the success of the transaction will appear.

 

Note: The maximum number of files that can be uploaded (for either route or bridge) is 10 (refer to System Preferences on page 1). If 10 records are already present and you wish to upload a new version, then you must delete one of the existing versions.

To Update a Record

  1. Select the record to be edited.

 

Note: You must select a record to update. If you click the Edit button without choosing a record, you will receive a message urging you to make a choice prior to clicking the button.

 

When you click the Edit button, a dialog will open.

 

Note: The Status must proceed from Updated to Verified and only then on to Published; changing the status directly to Published is not allowed.

  1. Make your changes then click Update.

A message signifying the success of the operation will appear.

 

To Delete a Record

  1. Select the record you wish to remove from the table then click the Delete button.

 

Note: You must select a record to delete. If you click the Delete button without choosing a record, you will receive a message urging you to make a choice prior to clicking the button.

 

When you click Delete, a confirmation pop-up will appear.

 

  1. Click the Delete button on the pop-up to confirm that you wish to eliminate the selected record.

A message signifying a successful deletion will appear.

 

Note: Records with the Published status cannot be deleted.

To Publish a Record

Note: Only one Dataset may have the "Published" status at any time. The published dataset is actively being used by the system to validate routes.

  1. Select the record that will you wish to publish.

 

Note: You must select a record to publish. If you click the Publish button without choosing a record, you will receive a message urging you to make a choice prior to clicking the button.

 

Note: Only a Verified record can be published.

  1. When you click the Publish button, an alert signifying successful publication pops up. Click OK.

 

Please be aware of the following:

 

Common Scenarios

  1. While adding a record, you will get the following messages in the scenarios mentioned.

 

 

 

 

 

 

 

 

  1. While using the Edit dialog for a record, you will get the following message if you change the status to Published then click the Update button.

 

  1. While Deleting a record, you will get the following message when you attempt to delete a record that has the Published status.

 

  1. While Publishing a record, you will get the following messages in the scenarios mentioned.

 

 

  1. This message will display when you attempt to update, delete, or publish a locked record.