county skims table structure#
The county skims table contains the travel distance between each of the counties within the modelled region. It is used by the CRISTAL freight model for high-level movement synthesis.
Field |
Type |
NULL allowed |
Default Value |
Foreign key |
Description |
---|---|---|---|---|---|
county_orig |
INTEGER |
NO |
0 |
The origin county FIPS code |
|
county_dest |
INTEGER |
NO |
0 |
The destination county FIPS code |
|
gcd_miles |
REAL |
YES |
0 |
The great circle distance (in miles) between the two counties |
|
hwy_miles |
REAL |
YES |
0 |
The shortest routable highway distance (in miles) between the two counties |
(* - Primary key)
The SQL statement for table and index creation is below.
CREATE TABLE IF NOT EXISTS "County_Skims" (
"county_orig" INTEGER NOT NULL DEFAULT 0,
"county_dest" INTEGER NOT NULL DEFAULT 0,
"gcd_miles" REAL DEFAULT 0,
"hwy_miles" REAL DEFAULT 0
);