diff --git a/openaddr/conform.py b/openaddr/conform.py index 78ffb482..55e40f11 100644 --- a/openaddr/conform.py +++ b/openaddr/conform.py @@ -43,7 +43,8 @@ def gdal_error_handler(err_class, err_num, err_msg): # The canonical output schema for conform OPENADDR_CSV_SCHEMA = ['LON', 'LAT', 'NUMBER', 'STREET', 'UNIT', 'CITY', - 'DISTRICT', 'REGION', 'POSTCODE', 'ID', 'HASH'] + 'DISTRICT', 'REGION', 'POSTCODE', 'ID', 'ADDRTYPE', + 'NOTES' 'HASH'] # Field names for use in cached CSV files. # We add columns to the extracted CSV with our own data with these names. @@ -57,7 +58,9 @@ def gdal_error_handler(err_class, err_num, err_msg): 'postcode': 'OA:postcode', 'district': 'OA:district', 'region': 'OA:region', - 'id': 'OA:id' + 'id': 'OA:id', + 'addrtype': 'OA:addrtype', + 'notes': 'OA:notes' } var_types = attrib_types.copy()