int PCMSMatrixAddOrigin(const char *stop)
const char *stop – A geocodable location.
Configures RouteMatrix to only calculate a single row of output for each stop that is added, instead of the whole matrix. This allows for faster transaction times. It should be inserted just before the API that calculates the trip matrix (PCMSMatrixCalculate).
An integer return code. Negative one (-1) indicates that the product is not licensed for RouteMatrix.
Log_Pcmstest("Add Trenton, NJ to RouteMatrix as Origin"); PCMSMatrixAddOrigin("Trenton,NJ"); Log_Pcmstest("Add 07102 to RouteMatrix as Origin"); PCMSMatrixAddOrigin("07102");
Supported Since: PC*MILER Connect 29
Category: Matrix Functions