cargo-flags
Cargo Flags
Company's self report a list of Cargo/Commodity Types that they specialize in. We provide three possible filters for searching company's based on these types.
Filter Field | Value Type | Resulting Behavior |
carrier_cargotype_flags | number | Includes Carriers that include any of the specified flags |
carrier_excl_cargotype_flags | number | Excludes Carriers that include any of the specified flags |
carrier_cargotype_otherdesc | string | Runs a keyword search against the CARGO_OTHER field and includes any matching carriers |
How It Works
The Cargo flags for the carrier_cargotype_flags and carrier_excl_cargotype_flags are passed in as a single number, where each bit represents a different Cargo Type. The bits, and their numerical values are:
Cargo Flags Example
To include Carriers that haul Logs, Poles, Beams, Lumber or Machinery, Large Objects add the bit values from the table below and set the resulting value in the carrier_cargotype_flags filter:
"filters":{
"carrier_cargotype_flags":288
}
Since Logs, Poles, Beams, Lumber = 32 and Machinery, Large Objects = 256, we set 32+256 = 288 as the filter value.
List of CargoType BitFlags
Description | Bit Value |
A. General Freight | 1 |
B. Household Goods | 2 |
C. Metal: Sheets, Coils, Rolls | 4 |
D. Motor Vehicles | 8 |
E. Drive/Tow away | 16 |
F. Logs, Poles, Beams, Lumber | 32 |
G. Building Materials | 64 |
H. Mobile Homes | 128 |
I. Machinery, Large Objects | 256 |
J. Fresh Produce | 512 |
K. Liquids/Gases | 1024 |
L. Intermodal Containers | 2048 |
M. Passengers | 4096 |
N. Oilfield Eqiupment | 8192 |
O. Livestock | 16384 |
P. Grain, Feed, Hay | 32768 |
Q. Coal/Coke | 65536 |
R. Meat | 131072 |
S. Garbage / Refuse | 262144 |
T. US Mail | 524288 |
U. Chemicals | 1048576 |
V. Commodities Dry Bulk | 2097152 |
W. Refridgerated Food | 4194304 |
X. Beverages | 8388608 |
Y. Paper Products | 16777216 |
Z. Utilies | 33554432 |
AA. Agricultural/Farm Supplies | 67108864 |
BB. Construction | 134217728 |
CC. Water Well | 268435456 |
DD. Other | 536870912 |