From 6255bcc7431ccf734449716501d0b369127294a3 Mon Sep 17 00:00:00 2001 From: Peyton Johnson <35665039+willjohnsonk@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:42:38 -0400 Subject: [PATCH] Update SQL Port Drayage Action locations for accuracy (#641) # PR Details ## Description Made minor updates to all Port Drayage locations as stored in the relevant SQL scripts to better reflect the layout of the route graph locations. ## Related Issue ## Motivation and Context ## How Has This Been Tested? ## Types of changes - [ ] Defect fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that cause existing functionality to change) ## Checklist: - [ ] I have added any new packages to the sonar-scanner.properties file - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [x] I have read the **CONTRIBUTING** document. [V2XHUB Contributing Guide](https://github.com/usdot-fhwa-OPS/V2X-Hub/blob/develop/Contributing.md) - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. --- configuration/mysql/garage_port_drayage/port_drayage.sql | 4 ++-- .../mysql/garage_port_drayage/port_drayage_lane1.sql | 4 ++-- .../mysql/garage_port_drayage/port_drayage_lane2.sql | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configuration/mysql/garage_port_drayage/port_drayage.sql b/configuration/mysql/garage_port_drayage/port_drayage.sql index 0e111bd22..bac758d58 100644 --- a/configuration/mysql/garage_port_drayage/port_drayage.sql +++ b/configuration/mysql/garage_port_drayage/port_drayage.sql @@ -26,7 +26,7 @@ CREATE TABLE `first_action` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `first_action` WRITE; -INSERT INTO `first_action` VALUES ('C1T-1','NULL',-2.3,0.7,'ENTER_STAGING_AREA','one','two'); +INSERT INTO `first_action` VALUES ('C1T-1','NULL',-2.46,0.56,'ENTER_STAGING_AREA','one','two'); UNLOCK TABLES; -- @@ -45,5 +45,5 @@ CREATE TABLE `freight` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `freight` WRITE; -INSERT INTO `freight` VALUES ('C1T-1','NULL',-0.4,-0.4,'EXIT_PORT','zero','one'),('C1T-1','NULL',-2.3,0.7,'ENTER_STAGING_AREA','one','two'),('C1T-1','CARGO_A',-3.4,-1.4,'PICKUP','two','three'),('C1T-1','CARGO_A',-3.4,-3.4,'EXIT_STAGING_AREA','three','four'),('C1T-1','CARGO_A',-3.4,-5.4,'ENTER_PORT','four','five'),('C1T-1','CARGO_A',-0.4,-6.4,'DROPOFF','five','six'),('C1T-1','CARGO_B',2.6,-4.7,'PICKUP','six','seven'),('C1T-1','CARGO_B',0.4,-3.4,'PORT_CHECKPOINT','seven','eight'),('C1T-1','CARGO_B',-0.3,0.2,'EXIT_PORT','eight','nine'); +INSERT INTO `freight` VALUES ('C1T-1','NULL',-0.45,-0.45,'EXIT_PORT','zero','one'),('C1T-1','NULL',-2.46,0.56,'ENTER_STAGING_AREA','one','two'),('C1T-1','CARGO_A',-3.45,-1.44,'PICKUP','two','three'),('C1T-1','CARGO_A',-3.45,-3.45,'EXIT_STAGING_AREA','three','four'),('C1T-1','CARGO_A',-3.45,-6.45,'ENTER_PORT','four','five'),('C1T-1','CARGO_A',-1.45,-6.45,'DROPOFF','five','six'),('C1T-1','CARGO_B',2.55,-4.5,'PICKUP','six','seven'),('C1T-1','CARGO_B',0.55,-3.45,'PORT_CHECKPOINT','seven','eight'),('C1T-1','CARGO_B',-0.45,-0.45,'EXIT_PORT','eight','nine'); UNLOCK TABLES; diff --git a/configuration/mysql/garage_port_drayage/port_drayage_lane1.sql b/configuration/mysql/garage_port_drayage/port_drayage_lane1.sql index 6f99b950c..0b9f0cd94 100644 --- a/configuration/mysql/garage_port_drayage/port_drayage_lane1.sql +++ b/configuration/mysql/garage_port_drayage/port_drayage_lane1.sql @@ -26,7 +26,7 @@ CREATE TABLE `first_action` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `first_action` WRITE; -INSERT INTO `first_action` VALUES ('C1T-1','NULL',-2.3,0.7,'ENTER_STAGING_AREA','one','two'); +INSERT INTO `first_action` VALUES ('C1T-1','NULL',-2.46,0.56,'ENTER_STAGING_AREA','one','two'); UNLOCK TABLES; -- @@ -45,5 +45,5 @@ CREATE TABLE `freight` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `freight` WRITE; -INSERT INTO `freight` VALUES ('C1T-1','NULL',-0.4,-0.4,'EXIT_PORT','zero','one'),('C1T-1','NULL',-2.3,0.7,'ENTER_STAGING_AREA','one','two'),('C1T-1','CARGO_A',-3.4,-1.4,'PICKUP','two','three'),('C1T-1','CARGO_A',-3.4,-3.4,'EXIT_STAGING_AREA','three','four'),('C1T-1','CARGO_A',-3.4,-5.4,'ENTER_PORT','four','five'),('C1T-1','CARGO_A',-0.4,-6.4,'DROPOFF','five','six'),('C1T-1','CARGO_B',1.6,-4.7,'PICKUP','six','seven'),('C1T-1','CARGO_B',0.4,-3.4,'PORT_CHECKPOINT','seven','eight'),('C1T-1','CARGO_B',-0.3,0.2,'EXIT_PORT','eight','nine'); +INSERT INTO `freight` VALUES ('C1T-1','NULL',-0.45,-0.45,'EXIT_PORT','zero','one'),('C1T-1','NULL',-2.46,0.56,'ENTER_STAGING_AREA','one','two'),('C1T-1','CARGO_A',-3.45,-1.44,'PICKUP','two','three'),('C1T-1','CARGO_A',-3.45,-3.45,'EXIT_STAGING_AREA','three','four'),('C1T-1','CARGO_A',-3.45,-6.45,'ENTER_PORT','four','five'),('C1T-1','CARGO_A',-1.45,-6.45,'DROPOFF','five','six'),('C1T-1','CARGO_B',1.55,-4.5,'PICKUP','six','seven'),('C1T-1','CARGO_B',0.55,-3.45,'PORT_CHECKPOINT','seven','eight'),('C1T-1','CARGO_B',-0.45,-0.45,'EXIT_PORT','eight','nine'); UNLOCK TABLES; diff --git a/configuration/mysql/garage_port_drayage/port_drayage_lane2.sql b/configuration/mysql/garage_port_drayage/port_drayage_lane2.sql index 0e111bd22..bac758d58 100644 --- a/configuration/mysql/garage_port_drayage/port_drayage_lane2.sql +++ b/configuration/mysql/garage_port_drayage/port_drayage_lane2.sql @@ -26,7 +26,7 @@ CREATE TABLE `first_action` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `first_action` WRITE; -INSERT INTO `first_action` VALUES ('C1T-1','NULL',-2.3,0.7,'ENTER_STAGING_AREA','one','two'); +INSERT INTO `first_action` VALUES ('C1T-1','NULL',-2.46,0.56,'ENTER_STAGING_AREA','one','two'); UNLOCK TABLES; -- @@ -45,5 +45,5 @@ CREATE TABLE `freight` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `freight` WRITE; -INSERT INTO `freight` VALUES ('C1T-1','NULL',-0.4,-0.4,'EXIT_PORT','zero','one'),('C1T-1','NULL',-2.3,0.7,'ENTER_STAGING_AREA','one','two'),('C1T-1','CARGO_A',-3.4,-1.4,'PICKUP','two','three'),('C1T-1','CARGO_A',-3.4,-3.4,'EXIT_STAGING_AREA','three','four'),('C1T-1','CARGO_A',-3.4,-5.4,'ENTER_PORT','four','five'),('C1T-1','CARGO_A',-0.4,-6.4,'DROPOFF','five','six'),('C1T-1','CARGO_B',2.6,-4.7,'PICKUP','six','seven'),('C1T-1','CARGO_B',0.4,-3.4,'PORT_CHECKPOINT','seven','eight'),('C1T-1','CARGO_B',-0.3,0.2,'EXIT_PORT','eight','nine'); +INSERT INTO `freight` VALUES ('C1T-1','NULL',-0.45,-0.45,'EXIT_PORT','zero','one'),('C1T-1','NULL',-2.46,0.56,'ENTER_STAGING_AREA','one','two'),('C1T-1','CARGO_A',-3.45,-1.44,'PICKUP','two','three'),('C1T-1','CARGO_A',-3.45,-3.45,'EXIT_STAGING_AREA','three','four'),('C1T-1','CARGO_A',-3.45,-6.45,'ENTER_PORT','four','five'),('C1T-1','CARGO_A',-1.45,-6.45,'DROPOFF','five','six'),('C1T-1','CARGO_B',2.55,-4.5,'PICKUP','six','seven'),('C1T-1','CARGO_B',0.55,-3.45,'PORT_CHECKPOINT','seven','eight'),('C1T-1','CARGO_B',-0.45,-0.45,'EXIT_PORT','eight','nine'); UNLOCK TABLES;