=CityToLatLongWS takes a PC*MILER location (city/state, postal code, SPLC, truck stop, PC*MILER custom name) and returns the latitude/longitude of a point central to the location. (Applicable licensing applies for certain types of data.)
Returns -1 if the PC*MILER place name you entered is invalid.
Syntax
=CityToLatLongWS(location)
Arguments
Argument | Description | Required? | Values |
location | A location for which you want to retrieve a latitude/longitude. | yes | A geocodable location in the PC*MILER database. Learn more about how to enter PC*MILER locations. Examples: Princeton, NJ08540 M4C 4Y7 40.420833N,74.561111W new york, ny;118 broadway 191690000 |