The following constants are also in the header file pcmsdefs.h, found in the PC*MILER installation folder.


Routing

Simple Routing CalculationsValue (Decimal)
CALC_INVALID-1
CALC_PRACTICAL0
CALC_SHORTEST1
CALC_NATIONAL2
CALC_AVOIDTOLL3
CALC_AIR4
CALC_POV5
Extended Routing CalculationsValue (Decimal)
CALCEX_TYPE_PRACTICAL1
CALCEX_TYPE_SHORTEST2
CALCEX_TYPE_AIR4
CALCEX_OPT_AVOIDTOLL256
CALCEX_OPT_NATIONAL512
CALCEX_VEH_TRUCK0
CALCEX_VEH_AUTO16777216
Road TypesValue (Decimal)
ROADTYPE_INTERSTATE1
ROADTYPE_MAJORHIGHWAY2
ROADTYPE_PRIMARY3
ROADTYPE_FERRY4
ROADTYPE_SECONDARY5
ROADTYPE_RAMP6
ROADTYPE_LOCAL7
Report TypesValue (Decimal)
RPT_DETAIL0
RPT_STATE1
RPT_MILEAGE2
RPT_XML3
RPT_STREETNAME4
RPT_ROADTYPE5
RPT_ITINERARY6
Order of States in ReportsValue (Decimal)
STATE_ORDER1
TRIP_ORDER2


Time-Based Routing

Time-Based Routing Time Zones

UTC ref.Example cityValue (Decimal)
TIME_ZONE_SYSTEM
n/a-1
TIME_ZONE_LOCAL
n/a-2
HAWAII-10Honolulu0
ALASKA-9Anchorage1
PACIFIC-8Los Angeles2
ARIZONA-7 (no DST)Phoenix3
MOUNTAIN-7Denver4
CENTRAL-6Chicago5
EASTERN-5New York6
ATLANTIC-4Halifax7
NEWFOUNDLAND-3.5St. John’s8
GMT0London9
CENTRALEUROPE+1Paris10
EASTERNEUROPE+2Helsinki11
WESTERNRUSSIA+4 (no DST)Moscow12


Options

OptionsValue (Hex)
OPTS_MILES0x0001L
OPTS_CHANGEDEST0x0002L
OPTS_HUBMODE0x0004L
OPTS_BORDERS0x0008L
OPTS_ALPHAORDER0x0010L
OPTS_HEAVY0x0020L
OPTS_FERRYMILES0x0040L
OPTS_ERROR0xFFFFL