Compare freight flows by market, commodity and mode
Use the Freight Analysis Framework to compare regional freight demand, then check truck and rail access for candidate sites.
Use the Freight Analysis Framework to compare estimated freight tonnage and value across U.S. markets. For imports, filter by the foreign origin, the U.S. region where the domestic leg begins, the destination, and the commodity. A logistics team can use those results to choose which markets to investigate. Verify carrier service and gate access separately for each property.
Run a Michigan to Ohio import comparison
The example uses the Bureau of Transportation Statistics’ FAF6.0 regional benchmark for 2022. Download the official ZIP and the example script. The script requires Python 3.11 or later and checks the archive fingerprint before reading the CSV.
curl --fail --location --silent --show-error --max-time 90 \
'https://faf.ornl.gov/faf6/data/Download_Files/ZIP/FAF6.0.zip' \
--output FAF6.0.zip
curl --fail --location --silent --show-error \
'https://docs.invariant-ai.com/examples/faf6-import-flows.py' \
--output faf6-import-flows.py
python3 faf6-import-flows.py FAF6.0.zip --foreign-origin 801 --commodity 36 \
--entry 261 262 269 --destination 391 392 393 394 395 399
The command selects imports from Canada (801) of motorized vehicles and parts (36). It includes the three Michigan entry regions and six Ohio destination regions. Use the FAF6 code tables to choose another origin, commodity, or set of regions.
Read the destination and domestic-mode results
The example matches 30 rows. The source weight sums to 419.265378 thousand tons, or about 419,265 tons. The estimated value sums to 1,532.029994 million 2022 dollars. Cleveland, Akron and Canton (392) and Columbus, Marion and Zanesville (393) together account for about 52.4% of the selected tonnage.
| Domestic mode code | FAF category | Thousand tons |
|---|---|---|
| 1 | Truck | 397.819349 |
| 5 | Multiple modes and mail | 21.398135 |
| 2 | Rail | 0.047894 |
The mode describes the U.S. leg from the entry region to the destination. The multiple-modes category can include truck or rail, so keep it separate from the single-mode counts. Compare the selected regional rows with the state totals and dated source reconciliation. Save the ZIP hash and filters with your results.
The regional benchmark estimates commodity movement. It does not identify individual carriers, border crossings, shipments, warehouses or commercially available capacity. For recorded counts at a specific border crossing, use BTS Border Crossing Entry Data and check its unit and direction.
Check access at a candidate warehouse
Use the market comparison to choose where to look. For each property, verify the lot, the truck gate and the destinations you expect to serve. The warehouse rail and truck access workflow shows which Earth API fields to request and how to check a mapped line against the property’s actual rail service.
Read the full freight source comparison, including the difference between estimated tonnage and recorded truck crossings.