Geocoder Starter Tool
The Geocoder Starter tool geocodes and standardizes an address record or file one of 4 ways: as a single address, as a file with address fields, as a file with lat/lon fields, or as a file with point spatial objects.
Why you would use this tool
You can use this tool as a start of a more complex app or macro that will do site selection, trade area creation, or some other spatial process. The benefit of using this tool is that there is a fair amount of user interface that is already implemented so it will save development time and ensure a standardized process for placing location records.
To use this tool as it was intended, you will want to Save As... your larger macro or app process or copy/paste its contents into a new macro or app. The tool itself was not intended to be an end to end solution.
Configuration Properties
Site Input
-
Specify your input. Choices are:
-
Input a single site: This option will geocode the site information as entered below.
-
Type the building number and street address of the site to geocode
-
Type the City of the site
-
Type the State of the site
-
Type the ZIP Code of the site
-
Type the Site Name of the site
-
Input Multiple sites: This option will geocode each record in the specified file using fields from the file.
-
Browse to the file location. By default only the first 20 records are read. The macro author can change or remove this limit by editing each Input tool (Input Data 134, 141, and 146) in the macro workflow.
-
Determine the types of fields in the specified file. Choices are:
-
Address Fields: The Address fields will be passed to the geocoder to place each record of the file.
-
Use the drop downs to specify the Address, City, State and ZIP Code fields
-
Latitude and Longitude Fields: The Latitude and Longitude fields will be passed to the Create Points tool to place each record of the file.
-
Use the drop downs to specify the Latitude and Longitude fields
-
Spatial Objects: The spatial object field will be passed to the Spatial Info tool to calculate and extract spatial information for each record of the file. Any spatial object type can be used as the macro will take the centroid of the spatial object for placement.
-
Use the drop downs to specify the spatial object to use.
Output
All 4 configuration options produce the same 3 standardized output fields:
Name |
Type |
Description |
__SiteSelectionSiteName |
V_String |
Each configuration option has an optional drop down for site name specification. |
SiteCentroid |
Spatial Object |
The spatial object assigned to each record. |
__SiteSelection_LocationAddress |
V_String |
The Concatenated fields used for record placement. |