Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions openaddr/conform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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()
Expand Down