Syntax
int PCMSGetFmtMatch3 (Trip trip, int which, char *addrBuf, int addrLen, char *cityBuf, int cityLen, char *stateBuf, int stateLen, char *zipBuf, int zipLen, char *countyBuf, int countyLen, char *timeZoneBuf, int timeZoneLen, bool isDST)
Parameters
Trip trip – Handle to a trip.
int which – The index number of the matching location in the pick list returned by PCMSLookup. The first match in the list is index 0.
char *addrBuf – The buffer where the address will be deposited.
int addrLen – The length of the address field.
char *cityBuf – The buffer where the city name will be deposited.
int cityLen – The length of the city field.
char *stateBuf – The buffer where the state name will be deposited.
int stateLen – The length of the city field.
char *zipBuf – The buffer where the ZIP code will be deposited.
int zipLen – The length of the ZIP code field.
char *countyBuf – The buffer where the county will be deposited.
int countyLen – The length of the county field.
char *timeZoneBuf – The buffer where the time zone will be deposited.
int timeZoneLen – The length of the county field.
bool isDST – Set to True if location is in Daylight Savings Time; False if it is not.
Description
Gets and formats a location name from a list of matches created using PCMSLookup. It contains a different string for each piece of information regarding address, city, state, ZIP code, county and time zone (in GMT offset format). It also returns whether the location is in Daylight Savings Time. (A license for the Streets add-on is required for address information.)
Return Values
Supported Since: PC*MILER Connect 28
Category: Geocoding