The GeocodeAddress method geocodes addresses.
Syntax
object.GeocodeAddress( Format, DataRootFolder, UseClosestMatch, ZIPCentroid4WrongAddrOrNoFile, LabelFirstRow, AddressCol, SeparateCols, Address2ColExist, Address2Col, CityCol, StateCol, ZIPCol, LonOutputCol, LatOutputCol, OutputRetStr, RetOutputCol )
Parameter |
Type |
Description |
Format |
required; geocoding data source |
|
DataRootFolder |
String |
required; path to the folder containing all street data subfolders and files |
UseClosestMatch |
Boolean |
optional; true to use the closest matching address |
ZIPCentroid4WrongAddrOrNoFile |
Boolean |
optional; true to assign the ZIP centroid to records with incorrect addresses or with no geocoding file |
LabelFirstRow |
Boolean |
optional; true if the first row contains labels |
AddressCol |
Integer |
optional; address column, column A equals 1 |
SeparateCols |
Boolean |
optional; true if the city, state, and ZIP are in separate columns |
Address2ColExist |
Boolean |
optional; true if there is a second address line |
Address2Col |
Integer |
optional; second address line column if Address2ColExist is true, column A equals 1 |
CityCol |
Integer |
optional; city column if SeparateCols is true, column A equals 1, default is column B |
StateCol |
Integer |
optional; state column if SeparateCols is true, column A equals 1, default is column C |
ZIPCol |
Integer |
optional; ZIP code column if SeparateCols is true, column A equals 1, default is column D |
LonOutputCol |
Integer |
optional; longitude output column, column A equals 1, if a column is not specified MapViewer uses an empty column |
LatOutputCol |
Integer |
optional; latitude output column, column A equals 1, if a column is not specified MapViewer uses an empty column |
OutputRetStr |
Boolean |
optional; true to add results column to data file |
RetOutputCol |
Integer |
optional; results output column if OutputRetStr is true, column A equals 1, if a column is not specified MapViewer uses an empty column |
Example
Used by: PlotDocument object