PC*MILER|Rail Web Services
Public Member Functions | Properties | List of all members
RouteOptions Class Reference

Inherits GeocodeOptions.

Public Member Functions

 RouteOptions (RoutePreference pref)
 

Properties

RoutePreference RoutingPreference [get, set]
 (Optional)
Routing preference for route calculation.
Default is FuelSurcharge for Interactive and Practical for Autorouter. More...
 
bool AmtrakRoutes [get, set]
 (Optional)
Allow routes that originate and/or terminate on Amtrak.
Default is True. More...
 
DistanceUnit DistUnit [get, set]
 (Optional)
Units for distances included in the report.
Default is Miles. More...
 
bool TerminalSwitching [get, set]
 (Optional)
Applicable only for AutoRouter option. Allow routes that require a terminal switch.
Default is True. More...
 
bool IntermodalOnlyStations [get, set]
 (Optional)
Allow geocoding of stations that exclusively serves only intermodal.
Default is True. More...
 

Detailed Description

Route options object.

Property Documentation

◆ RoutingPreference

RoutePreference RoutingPreference
getset

(Optional)
Routing preference for route calculation.
Default is FuelSurcharge for Interactive and Practical for Autorouter.

◆ AmtrakRoutes

bool AmtrakRoutes
getset

(Optional)
Allow routes that originate and/or terminate on Amtrak.
Default is True.

◆ DistUnit

DistanceUnit DistUnit
getset

(Optional)
Units for distances included in the report.
Default is Miles.

◆ TerminalSwitching

bool TerminalSwitching
getsetinherited

(Optional)
Applicable only for AutoRouter option. Allow routes that require a terminal switch.
Default is True.

◆ IntermodalOnlyStations

bool IntermodalOnlyStations
getsetinherited

(Optional)
Allow geocoding of stations that exclusively serves only intermodal.
Default is True.