Developer Tools
Tutorial: geocoding a list of addresses
This guide walks through turning a plain list of addresses into coordinates you can map, with one worked example and three decisions that determine whether the output is trustworthy.
01
Step one: standardize the input
Start by separating each address into street, unit, city, region and postal code columns. Geocoders match better when fields are consistent, and it also makes failures easier to diagnose. Worked example: a sheet holds 200 customer rows with entries like 12 Main St Apt 4 Springfield. Split the unit into its own column, expand abbreviations consistently, and remove blank or duplicate rows. Keep an untouched ID column so every result can be joined back to the original record. Spend ten minutes here and the later steps become mostly mechanical rather than a pile of unexplained misses.
02
Step two: run a small batch and read the confidence
Do not submit the full list first. Send a sample of twenty rows to your chosen geocoder and examine what returns: coordinates, a matched address and some measure of match quality. In the worked example, most of the twenty rows match at rooftop level, while two return only a street or postal-code center. Decide a threshold in advance, such as accepting exact matches automatically and sending approximate ones to review. Record the rule in writing so a colleague repeating the job later makes the same choices and gets comparable results.
03
Step three: review failures and verify on a map
Run the full list, then handle exceptions in order. Rows with no match usually contain typos, missing postal codes or ambiguous city names; correct them and resubmit only those rows. Then plot every point and look for outliers, such as a Springfield address landing in the wrong state. In the worked example, five of two hundred points fall far from the cluster, and two turn out to be a wrong region field. Export the final file with ID, latitude, longitude and a match-quality column so downstream users can see which locations are certain.