Syntax 

int PCMSGetFmtMatch4 (Trip trip, int which, char *addrBuf, int addrLen, char *cityBuf, int cityLen, char *stateBuf, int stateLen, char *zipBuf, int zipLen, char *countyBuf, int countyLen, double *latitude, double *longitude)

 

Parameters 

Trip trip – Handle to a trip.

int which – The stop on the trip (a trip’s origin in stop zero).

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.

double *latitude – The location’s latitude.

double *longitude – The location’s longitude.


Description 

Formats the length of the place name before returning it. It contains a different string for each piece of information regarding address, city, state, ZIP code, and county. It also returns the location’s decimal latitude and longitude. (A license for PC*MILER|Streets is required for address information.)


Return Values 

Standard Returns


Supported Since: PC*MILER|Connect 28

Category: Geocoding