Skip to content

Instantly share code, notes, and snippets.

View stdavis's full-sized avatar

Scott Davis stdavis

View GitHub Profile
# Utah Street Address Locator (Geocoding) Service
# AGRC, 20130329
# WHAT?
# Geocodes an input table in one of the arcgis-compatible file formats and produces
# an new output .csv table with the geocoded results
# IMPORTANT NOTES:
#
# individualized api key will be required in near future, here's how to get one:
def cleanAddresses():
print(' * Cleaning Addresses')
def IsProblem(value):
ex = ['NO.', 'ST. JOSEPH', 'NORTH WAY']
return any(value.find(e) > -1 for e in ex)
def SkipName(value):
skipNameList = ['RIVER BEND WAY', 'CANYON CREST', 'WATER MILL WAY',